Payments through API (Demo with Postman)
POST generate checkout link for make payment
https://royelpay.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 |
In body add private_key,currency,is_fallback,url,is_test,amount as key and their values from the credentials of merchant profile.

Checkout Page:

Success Response:

Failed:
