/api/create-tran
Creates a Payway transaction and saves its reference for checkout and status lookup. You may send encrypted ABA data directly or a Payway link URL; link values are resolved once and cached.
Request body
| Field | Type | Requirement | Description |
|---|---|---|---|
amount |
string | Required | Payment amount. Minimum value is 0.01. |
aba_data |
string | Required | Encrypted ABA Payway data or a Payway link URL. |
tran_id |
string | Optional | Your unique transaction reference. |
continue_url |
URL | Optional | Customer redirect after payment approval. |
cancel_url |
URL | Optional | Customer redirect after cancellation or expiry. |
webhook |
URL | Optional | Your endpoint for approved payment notifications. |