Record Transaction

post/transactions

Request body

amountinteger required
referencestring required
currencystring required
sourcestring required
destinationstring required
allow_over_draftboolean required
inflightboolean required
inflight_expiry_datestring

RFC3339 datetime with offset (e.g. 2024-04-22T15:28:03+00:00). When inflight is true, the transaction is voided after this time.

inflight_commit_datestring

RFC3339 datetime with offset. When inflight is true, Blnk automatically commits at this time. See /transactions/inflight/updating-inflight docs.

Example request

{
  "precise_amount": 74000,
  "precision": 100,
  "reference": "reference",
  "sources": [
    {
      "identifier": "bln_f2073f6b-905a-4e3e-b5a2-8d1b3dc2fb7f",
      "distribution": "10%",
      "narration": "Monthly contribution"
    },
    {
      "identifier": "bln_64c50fb5-32d5-4f78-9f4a-e8b01aaf025d",
      "precise_distribution": "2000000",
      "narration": "Monthly contribution"
    },
    {
      "identifier": "bln_7d98dfe9-5c3e-4c9b-b96a-65f6d9f7b89b",
      "distribution": "left",
      "narration": "Monthly contribution"
    }
  ],
  "destinations": [
    {
      "identifier": "bln_f2073f6b-905a-4e3e-b5a2-8d1b3dc2fb7f",
      "distribution": "20%",
      "narration": "For groceries"
    },
    {
      "identifier": "bln_64c50fb5-32d5-4f78-9f4a-e8b01aaf025d",
      "precise_distribution": "1000000",
      "narration": "For electricity bills"
    },
    {
      "identifier": "bln_7d98dfe9-5c3e-4c9b-b96a-65f6d9f7b89b",
      "distribution": "left",
      "narration": "For savings"
    }
  ],
  "currency": "NGN",
  "source": "@inflighttest6",
  "destination": "@inflighttest7",
  "allow_over_draft": true,
  "inflight": true
}

Response

Created

Changes

No recorded changes to this endpoint across all 1 revision of this API.