Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Queries a transaction with a specified ID.
The query interacts with the related gateway account to obtain the result, amount, and currency. If after analysis, the transaction must be updated, see Update a transaction status.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/transactions/{id}/query
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/transactions/{id}/query
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/transactions/{id}/query
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/transactions/{id}/query' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Headers
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
Example:"txn_0YVDTQJ8YWDGQACV2N2N5SPWQ0"
Enum:"abandoned""approved""canceled""declined""unknown"
Enum:"completed""conn-error""disputed""never-sent""offsite""partially-refunded""pending""refunded""sending""suspended"
Response
{ "transactionId": "txn_0YVDTQJ8YWDGQACV2N2N5SPWQ0", "result": "abandoned", "status": "completed", "amount": 0.1, "currency": "USD" }