Balances

Get Transaction

Returns a single balance transaction and its accounting postings (gross credit, each fee as its own line, conversion legs). Platform-internal cost/revenue postings are never exposed.

GET
/v1/transactions/{operationID}
X-API-Key<token>

API key issued by the merchant dashboard. The key's environment (live/test) determines which data the caller can access. Permissions on the key control which endpoints are reachable.

In: header

Path Parameters

operationIDstring
Formatuuid

Response Body

curl -X GET "https://dashboard.halfin.xyz/api/v1/transactions/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "kind": "string",
    "money_status": "string",
    "environment": "live",
    "source_type": "string",
    "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
    "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
    "currency": "string",
    "gross_amount": "string",
    "fee_total": "string",
    "net_amount": "string",
    "counter_currency": "string",
    "counter_amount": "string",
    "rate": "string",
    "amount_usd": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "postings": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "entry_type": "string",
        "amount": "string",
        "direction": "credit",
        "currency": "string",
        "network": "string",
        "payer": "string",
        "bucket": "string",
        "available_after": "string",
        "pending_after": "string",
        "amount_usd": "string",
        "created_at": "2019-08-24T14:15:22Z"
      }
    ]
  },
  "meta": {
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      "string"
    ]
  },
  "meta": {
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      "string"
    ]
  },
  "meta": {
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      "string"
    ]
  },
  "meta": {
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      "string"
    ]
  },
  "meta": {
    "request_id": "string"
  }
}