User transaction info

Endpoints for fetching user transaction info

Request Syntax

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

You can only view transactions from that merchant.

Setting the AccessToken Header is required.

Request

NameData TypeDescription

client_id

String(12)

Merchant ID

tid

String(24)

A unique identifier for the payment

Response

NameData TypeDescription

tid

String(24)

A unique identifier for the payment

status

String

Progress of the current transaction

  • READY

  • INITIATED

  • COMPLETED

  • CANCELLED

  • EXPIRED

partner_order_id

String(100)

Internal payment unique key to prevent duplicate payments

partner_user_id

String(100)

Internal username for managing payment history

asset_symbol

String(10)

Symbol of the cryptocurrency to be paid

amount

String(24)

Total amount of tokens to pay string

create_at

Int

Payment request time

validate_at

Int

Payment authorization time

Sample

curl -X POST https://api.excoinz.com/payment/order \
     -H "EXCOINZ_SECRET: ${SECRET_KEY}" \
     -H "Authorization: Bearer ${ACCESS_TOKEN}" \
     -H "Content-Type: application/json" \
     -d '{
         "client_id": "YOUR_CLIENT_ID",
         "tid": "YOUR_TID"
     }'

Last updated