API Endpoints
Lookup Payment
Lookup Payment
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"chainId": 1,
"txHash": "0x00000000000000000000000000000000000000000000000000000000000000",
"payments": [
{
// order ids, invoice number or other
"memo": "test",
"receiver": "0x0000000000000000000000000000000000000000",
"tokenSymbol": "USDC", // symbol of the token being received
"tokenAmount": { // amount of the token being received
"formatted": "1.00",
"value": "1000000"
},
"tokenAmountNet": { // amount the receiver gets (amount - fees)
"formatted": "0.9975",
"value": "997500"
},
"totalFees": {
"formatted": "0.0025",
"value": "2500"
},
"fees": [
{
// fee charged by YODL
"type": "YodlFee",
"formatted": "0.002",
"value": "2000"
},
{
// extra fee charged by third-party
"type": "ExtraFee",
"formatted": "0.0005",
"value": "500"
}
],
// what was charged/invoice to the payer
"invoiceAmount": "1",
"invoiceCurrency": "USD",
"conversion": "",
"priceFeeds": [],
// whether a sufficient number of blocks have passed for the tx to be considered final
// see Finality section
"final": true
}
]
}Lookup & Verify Payment
Lookup and verify a payment against given parameters
Headers
Name
Type
Description
Request Body
Name
Type
Description
Notes
Chain Name
Chain Id
Confirmations
Duration
Types
Last updated