# OPEN Sample Application

# Download PDF

# Create Application

# Login and move to Application page

Application List

# Click Add Application

New Application Create

# After creation go details of application

Application Detail Below you can see the description of each field:

  • Access Key — used for encryption
  • Secret Key — used for signature

Wallets can be generated manually or by API

# WordPress Integration

# Install WooCommerce Open Platform Gateway plugin

Install plugin

# Manage WooCommerce Open Platform Gateway plugin

Manage plugin

# Manage Payment WooCommerce Open Platform Gateway plugin

Manage payment plugin

# WooCommerce Open Platform Gateway plugin on checkout page of e-commerce site

Checkout page

# Open Widget Checkout

Open Widget

# Wallet API

To generate new wallet:

curl --request POST 'https://api.openfuture.io/public/api/v1/wallet/generate' \
--header 'X-API-SIGNATURE: 98a5ecdcc239f27f60d95013d4e11c6d9a2d8a4162e08559f58f20417637abb6' \
--header 'X-API-KEY: op_SbS871L34UamZlvxA1nj' \
--header 'Content-Type: application/json' \
--data-raw '{
    "timestamp":"1650257339",
    "metadata":{
        "amount":"10.00", 
        "orderId":"1", 
        "orderKey":"wc_order_8WtVNDm4E3usj", 
        "paymentCurrency":["ETH"],
        "productCurrency":"USD", 
        "source":"woocommerce", 
        "test":true
    }
}'  
  • X-API-SIGNATURE : hmac256(body, Application Secret Key)
  • X-API-KEY : Application Access Key

Response: if signature mismatch or request timeout

{
  "status": 401,
  "message": "Signature mismatch or request timeout"
}

Response: successfully

[
  {
    "address": "0x4c72a7abf5ff9bea0b4fa386d9fcf110899974d5",
    "blockchain": "ETH"
  }
]