Get a transaction
Authentication
Section titled “Authentication”Authorization: Bearer <API token>, required.
Path parameters
Section titled “Path parameters”| Name | Type | Description |
|---|---|---|
id |
integer | Internal transaction ID (transaction_id in webhooks). |
Request
Section titled “Request”curl "https://api.creditcore.io/api/transaction/99101" \ -H "Authorization: Bearer $CREDITCORE_API_TOKEN"The transaction object
Section titled “The transaction object”| Field | Type | Description |
|---|---|---|
id |
integer | Internal transaction ID. |
accountId |
integer | Your account ID. |
timestamp |
datetime | When the transaction was processed. |
success |
boolean | Whether the gateway approved it. |
type |
string | Transaction type. |
amount |
number | Amount. Negative for refunds. |
productId |
integer | Product. |
transactionId |
integer | Gateway transaction ID. |
midId |
integer | Merchant account that processed it. |
midName |
string | Merchant account name. |
currencyId |
integer | Currency identifier. |
refundStatus |
string | Refund status. |
status |
string | Transaction status, e.g. APPROVED, DECLINED. |
paymentMethod |
string | Card brand, e.g. visa. |
{ "id": 99101, "accountId": 40, "timestamp": "2026-09-29T14:03:12.456", "success": true, "type": "SUBSCRIPTION_START", "amount": 9.99, "productId": 12, "transactionId": 10987654321, "midId": 7, "midName": "MID-EU-01", "currencyId": 2, "refundStatus": "REFUNDABLE", "status": "APPROVED", "paymentMethod": "visa"}If the transaction doesn’t exist, the response is 200 with an empty body.