You can embed CoinForBarter on your page using our
redirectUrl in your request, the function will redirect your users to the provided redirect URL when they complete the payment.
We will append the transaction reference and status to the URL this,
transactionRef=ref&transactionId=11379&status=success. With this, you can verify the final state of the transaction by calling our Transaction verification endpoint with the provided
transactionId in the URL.
Sample Inline Redirect Implementation
Here is a simple verification Response
Sample Inline Callback Implementation
Alternatively, if you specify a callback function in your request payload when your customer completes the payment, we will call the function and pass the payment details to you.
Here is what a callback response looks like when the transaction is successfully completed.
With this response, you can perform other activities like Transaction verification
Callback Or Redirect?
For your webhook notification, below is the transaction notification format:
Join Developers Channel on Slack
Join our developers channel to stay up to date on latest news and features. Find answers to your problems and network with other developers. Join Developers Channel.