Reading fiat withdrawal

GET /api/public/v1/bank_withdrawal_transactions/:id

This endpoint returns details of a particular fiat withdrawal by its ID.

Headers

NameValue

Content-Type

application/vnd.api+json

Authorization

Bearer <api_key>

Path Parameters

NameValue

id

Fiat withdrawal ID.

Response

{
  "data": {
    "id": "6717ff12-7eea-44bf-9cbf-4a363e36be03",
    "type": "bank_withdrawal_transactions",
    "attributes": {
      "absorbFees": true,
      "createdAt": "2024-11-19T15:26:36.205Z",
      "updatedAt": "2024-11-19T15:26:37.780Z",
      "state": "pending",
      "iban": "GB94BARC10201530093459",
      "beneficiaryName": "Acme LLC",
      "reference": "Reference number for this particular withdrawal",
      "paymentStatus": "created",
      "currency": "EUR",
      "amount": "1010.56",
      "payAmount": "1000.55",
      "fee": "10.01"
    },
    "relationships": {
      "bankAccount": {
        "data": {
          "type": "bank_accounts",
          "id": "f96d0db2-3e5d-42b4-8e36-7a0ea2a951fe"
        }
      },
      "account": {
        "data": {
          "type": "accounts",
          "id": "acd50522-de49-4aaa-a183-dc046ff27fd5"
        }
      }
    }
  },
  "included": [
    {
      "id": "f96d0db2-3e5d-42b4-8e36-7a0ea2a951fe",
      "type": "bank_accounts",
      "attributes": {
        "beneficiaryName": "Acme LLC",
        "currencyCode": "EUR",
        "iban": "GB94BARC10201530093459",
        "createdAt": "2024-10-24T14:13:11.802Z",
        "updatedAt": "2024-11-19T10:46:15.727Z"
      }
    },
    {
      "id": "acd50522-de49-4aaa-a183-dc046ff27fd5",
      "type": "accounts",
      "attributes": {
        "currencyCode": "EUR",
        "balance": "24412.25",
        "currencyType": "fiat"
      },
      "relationships": {
        "company": {
          "meta": {
            "included": false
          }
        },
        "networks": {
          "meta": {
            "included": false
          }
        }
      }
    }
  ],
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}

Last updated