Payments through API (Demo with Postman)
POST generate checkout link for make payment
https://yallapay.net/api/request
Headers
| Accept | application/json |
| Content-Type | application/json |
BODY formdata
| private_key | Merchant_private_key |
| currency | Merchant_currency |
| is_fallback (optional) | Accept(1 OR 0)
|
| fallback_url (conditional) | http://domain.com/status
|
| external_id (int) | Merchant_external_id, you can use it for your product id or any custom id. |
| amount | 100 |
| purpose | Test payment |
| store_id (optional) | 12345 (Generate store id from webhook page) |
In body add private_key,currency,is_fallback,url,amount as key and their values from the credentials of merchant profile.

Checkout Page:

Success Response:

Failed:
