Request a payment

Endpoint for calling the Excoinz Pay window.

Request Syntax

POST /payment/ready HTTP/1.1
Host: api.excoinz.com
EXCOINZ_SECRET: ${SECRET_KEY}
Authorization: Bearer ${ACCESS_TOKEN}
Content-Type: application/json

Setting the AccessToken Header is required.

Request

Response

Sample

curl -X POST https://api.excoinz.com/payment/ready \
     -H "EXCOINZ_SECRET: ${SECRET_KEY}" \
     -H "Authorization: Bearer ${ACCESS_TOKEN}" \
     -H "Content-Type: application/json" \
     -d '{
         "client_id": "YOUR_CLIENT_ID",
         "partner_order_id": "YOUR_PARTNER_ORDER_ID",
         "partner_user_id": "YOUR_PARTNER_USER_ID",
         "asset_symbol": "YOUR_ASSET_SYMBOL",
         "amount": "YOUR_AMOUNT",
         "approval_url": "YOUR_APPROVAL_URL",
         "cancel_url": "YOUR_CANCEL_URL",
         "fail_url": "YOUR_FAIL_URL",
         "locale": "YOUR_LOCALE"
     }'

Last updated