Retrieve a Payment Intent
Retrieves the payment details of a Payment Intent by its ID.
bearerAuthAuthorizationBearer <token>The access_token obtained from POST /oauth2/token. Header format: Authorization: Bearer {accessToken}.
paymentIntentId*stringPayment Intent ID, such as pi_MNOL0POUV8IDPXCD
Returns the Payment Intent object.
application/json- response
code?integerBusiness status code
message?stringtraceId?stringRequest trace ID. Provide it when you contact technical support
data?The Payment Intent object. All amount fields are decimal strings in standard units, formatted to the currency precision. All time fields are in ISO 8601 with a time zone offset. Fields with empty values are omitted.
curl -X GET 'https://api.test.stabofx.com/openapi/v1/payment-intents/string'{ "code": 200, "message": "OK", "traceId": "6a017ba1e60f91cdbe14e4f0697b3dc2", "data": { "paymentIntentId": "pi_MNOL0POUV8IDPXCD", "status": "COMPLETED", "clientSecret": "v1.xxx", "checkoutUrl": "https://app.test.stabofx.com/en/checkout/pi_MNOL0POUV8IDPXCD?secret=v1.xxx", "amount": "20.00", "currency": "USD", "usdAmount": "20.00", "fxRate": "1", "referenceNo": "ORD-20260511-0001", "description": "Order #20260511-0001", "customer": "cus_123456", "brand": "Acme Coffee", "payments": [ { "network": "Polygon", "currency": "USDT", "amount": "20.08", "txHash": "0x5f2c...a91e", "fromAddress": "0x97535e309484738738877fa6f9a3bb8c62eae19a", "confirmations": 12, "requiredConfirmations": 12, "status": "CONFIRMED", "confirmedAt": "2026-05-11T14:18:02+08:00" } ], "receivedAmount": "20.00", "receivedUsdAmount": "20.00", "feeAmount": "0.30", "refundedAmount": "0.00", "hasRefund": false, "expiresAt": "2026-05-11T14:42:34+08:00", "completedAt": "2026-05-11T14:25:10+08:00", "createdAt": "2026-05-11T14:12:34+08:00", "metadata": { "orderId": "ORD-20260511-0001" }, "paymentOptions": [ { "currency": "USDT", "network": "Polygon" } ] }}Create a Payment Intent POST
Creates a Payment Intent and generates a hosted checkout page link. After creation succeeds, redirect the customer to `checkoutUrl` in the response to complete the payment. Returns HTTP 200 on success. After creation, `status` is `AWAITING_PAYMENT`.
List Refunds GET
Lists the refunds of the specified Payment Intent with pagination.