Query balance
Query the available balance of an account.
bearerAuthAuthorizationBearer <token>The access_token obtained from POST /oauth2/token. Header format: Authorization: Bearer {accessToken}.
accountNumber*stringAccount number. Length 16
currency*stringISO 4217 currency code. Length 3
X-Channel-Provider*stringProvider identifier, such as GLDB
Returns the account balance.
application/json- response
code?integerBusiness status code
message?stringtraceId?stringRequest trace ID. Provide it when you contact technical support
data?Base fields of business data. The data object of every business response contains these fields (except fee estimation).
curl -X GET 'https://api.test.stabofx.com/openapi/v1/payments/balance?accountNumber=10000000001¤cy=USD' \ -H 'X-Channel-Provider: GLDB'{ "code": 200, "message": "OK", "traceId": "a1b2c3d4-e5f6-7890", "data": { "providerStatusCode": "000000", "providerMessage": "ok", "providerRequestSerialNo": "795883203712778240", "providerResponseSerialNo": "785957885476737024", "providerTimestamp": "2023-05-17 21:03:48", "balance": "1000000.00", "currency": "USD", "status": "ACTIVE" }}Retrieve a Refund GET
Retrieves refund details by Refund ID. The refund must belong to the Payment Intent in the path. Otherwise, the request is handled as "not found".
Intra-bank transfer POST
Intra-bank transfer between accounts. All currencies are supported. Use it to move funds between different accounts within the same bank. **Notes** - `remarks` supports only alphanumeric characters, spaces, and the special characters `/ - ? : ( ) . , ' +` - If the `PROCESSING` status is returned, wait 5 minutes and then call the result query endpoint to confirm the final status - For orders paid out via POBO, the response returns `poboAccountNo` / `poboAccountName`. When you call the result query endpoint, we recommend passing `accountNumber=poboAccountNo` to explicitly specify the POBO payout account. If `accountNumber` is not passed, the system automatically matches the corresponding POBO payout account based on `referenceNo`.