Quick start
Step 5: Get transaction result
Finally, after the transaction has been created your application can get the latest details and status using the transaction ID received via the callback to the redirect URL, or on direct callback from the API.
Get transaction details
This transaction ID can be used with the SDK to fetch additional details about the transaction.
The transaction includes details about the payment method used and the status of the transaction.
{
"type": "transaction",
"id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
"status": "authorized",
"amount": 1299,
"currency": "AUD",
"payment_method": {
"type": "payment-method",
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"method": "card",
...
},
...
}
Visit the API reference documentation for full details about the transaction resource, and any other API.
Was this page helpful?