Payments through API (Demo with Postman)
POST generate checkout link for make payment
https://payment.tribearc.com/api/request
Headers
Accept | application/json |
Content-Type | application/json |
BODY formdata
private_key | Merchant_private_key |
currency | Merchant_currency |
is_fallback | Accept(1 OR 0)
|
fallback_url | http://domain.com/status
|
is_test | Accept(1 OR 0)
|
amount | 100 |
purpose | testing purpose |
data | Any data you may want to use after payment is successful (Optional) |
should_convert | Accept(1 OR 0) - Optional
|
country_currency | Currency - Required if should_convert = 1
|
In body add private_key,currency,is_fallback,url,is_test,amount as key and their values from the credentials of merchant profile.