๐ŸงพOrders

API's to manage Orders.

Create Order

Please Note: If you want to pre-populate user data for the Stripe Onramp payment feature - Please ensure to add the customerInformation object data.

Order Notify Url (Webhook)

WARNING: Ensure that your system accepts payments ONLY when the status of the notifyUrl request is "success".

Order Completed Notify Url

POST https://your-notify-url

Request Body

Order Redirect Url

When an order receives a final outcome, the Payment Gateway will redirect to the specified redirect URL. The redirect URL will have the following parameters appended: ?orderId=[ORDER_ID]&orderNumber=[ORDER_NUMBER]&status=[STATUS]

i.e https://your-redirect-url?orderId=004Qs494RxpEMFYUyXBz&orderNumber=323421&status=success

Note: TygaPay will accommodate the specific format required for your redirect URL.

Get Order

Cancel Order

Refund Order to TygaPay Account

Refund Order to Crypto Address

  • To process a refund to a cryptocurrency address, an OTP (One-Time Password) is necessary. Please reach out to support@tygapay.com to set up the Tenant Admin account that will receive these OTPs.

Refund NotifyUrl Request (Webhook)

POST https://your-refund-notify-url

Request Body

Last updated