FCHubFCHub.co

Get order transactions

Retrieve all transactions for a specific order.

GET
/orders/{order_id}/transactions

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

Response Body

application/json

application/json

application/json

curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/orders/0/transactions"
{
  "transactions": [
    {
      "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"
    }
  ]
}