curl -X GET https://api.swervpay.co/api/v1/cards/{id}/transactions/{transactionId} \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json"
{
"amount": 123,
"balance_after": "<string>",
"balance_before": "<string>",
"category": "<string>",
"charges": 123,
"created_at": "2023-11-07T05:31:56Z",
"currency": "<string>",
"description": "<string>",
"id": "<string>",
"merchant_city": "<string>",
"merchant_country": "<string>",
"merchant_mcc": "<string>",
"merchant_mid": "<string>",
"merchant_name": "<string>",
"merchant_postal_code": "<string>",
"merchant_state": "<string>",
"reference": "<string>",
"report": true,
"report_message": "<string>",
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
Get card transactions
curl -X GET https://api.swervpay.co/api/v1/cards/{id}/transactions/{transactionId} \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json"
{
"amount": 123,
"balance_after": "<string>",
"balance_before": "<string>",
"category": "<string>",
"charges": 123,
"created_at": "2023-11-07T05:31:56Z",
"currency": "<string>",
"description": "<string>",
"id": "<string>",
"merchant_city": "<string>",
"merchant_country": "<string>",
"merchant_mcc": "<string>",
"merchant_mid": "<string>",
"merchant_name": "<string>",
"merchant_postal_code": "<string>",
"merchant_state": "<string>",
"reference": "<string>",
"report": true,
"report_message": "<string>",
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
curl -X GET https://api.swervpay.co/api/v1/cards/{id}/transactions/{transactionId} \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
Was this page helpful?