transactions-onramp
transactions-onboardapi
Customer acknowledges transfer of fiat
Changed onpost/transactions/onramp/customer-deposit
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Success
Example response
{
"reference": "0165359005113074501885",
"customerName": "John Doe",
"offer": {
"rate": 0.32,
"networkId": "TRC20",
"fiatSymbol": "NGN",
"fiatAmount": 120.5,
"token": "USDT",
"tokenAmount": 120.5,
"usdAmount": 120.5,
"partnerDisplayName": "John Doe",
"adNote": "Guaranteed fast payment"
},
"paymentChannelId": "BANK_TRANSFER_NIGERIA",
"customerWallet": {
"networkId": "bsc_testnet",
"walletName": "My Trust Wallet"
},
"rating": 3,
"fee": {
"asToken": "1000.0"
}
}Changes
- info
the endpoint scheme security
HMACAuthwas added to the API - info
the endpoint scheme security
authTokenwas removed from the API
- info
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added the optional property
to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking