cURL
curl --request POST \ --url https://devapi.withedge.co/gateway/api/v1/transfer/validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'requestId: <requestid>' \ --data '{ "transactionId": "<string>", "otpReferenceId": "<string>", "otp": "<string>" }'
{ "statusCode": 00, "message": "Completed successfully" "data": { "amount": 1213211231, "beneficiaryAccountName": "Peter Parker", "beneficiaryAccountNumber": "1234567890", "beneficiaryBankCode": "001001", "transactionId": "txn_0011223344", "narration": "Transfer to John Doe" }, "errors": [] }
This endpoint allows you to validate a transfer request using the provided OTP.
e0b9f8d0-7a57-4a67-a8b2-4d7c7b5a37c9
txn_0011223344
otp_1234567890
123456
Was this page helpful?