Validate Payment

Validate Payment

POST /v1/api/payment/validate/:id

This creates a new payment request

Headers

Name
Value

Content-Type

application/json

Authorization

hash encrypted by access secret

x-timestamp

current timestamp

x-request-id

request id

x-access-id

access id

Params

Name
Type
Description

ID

string

transaction ID for the request

Response

{
  "status": "success",
  "message": "success",
  "data": {
      "type": "receive",
      "chain": "avalanche",
      "chainId": "64f782bb4278fc475eb30e29",
      "amount": "0.023741",
      "agentId": "6538eaaebdec6d1a21978e6a",
      "merchantId": "6538e8f9bdec6d1a21978a64",
      "usdAmount": "1.02",
      "coinAmount": "0.023741",
      "fee": 0.00023741007194244602,
      "feeUSD": 0.0102,
      "feeSent": false,
      "rate": 43.09,
      "walletAddress": "0x40b95eddeeac0776ebefc3963bb9ba7d22cbd065",
      "walletAddressIndex": 7,
      "currency": "64fc4cda43812c15552311d7",
      "activationFee": 0,
      "activationFeeUSD": 0,
      "contractAddress": null,
      "agentAmount": "1.023",
      "agentRate": "1",
      "agentCurrency": "usd",
      "txId": "66aec7de809b7f45c42a49f9"
  }
}

Last updated