Get transaction details
Retrieve details of a specific transaction on an order.
Authorization
applicationPassword AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Path Parameters
order_id*integer
Order ID
transaction_id*integer
Transaction ID
Response Body
application/json
application/json
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/orders/0/transactions/0"{
"transaction": {
"id": 0,
"order_id": "string",
"order_type": "string",
"transaction_type": "charge",
"subscription_id": 0,
"card_last_4": "string",
"card_brand": "string",
"vendor_charge_id": "string",
"payment_method": "string",
"payment_mode": "test",
"payment_method_type": "string",
"status": "succeeded",
"currency": "string",
"total": "string",
"rate": "string",
"uuid": "string",
"meta": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"url": "http://example.com"
}
}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}{
"code": "fluent_cart_entity_not_found",
"message": "Order not found",
"data": {
"status": 404
}
}