POST
/
transactions

Authorization

Basic authentication header of the form — Basic <encoded-value>, where <encoded-value> is the base64-encoded string of your username:password.

Body

amount
integer | float
required

The transaction amount.

currency
string
required

The currency of the transaction amount is in.

precision
integer
default: "1"required

Precision for the transaction’s currency. Also see: Precision.

reference
string
required

The unique transaction reference number for the transaction. If empty, Blnk auto-creates one.

source
string
required

The balance sending the amount. @ prefix indicates that the balance is an internal balance.

destination
string
required

The balance receiving the amount. @ prefix indicates that the balance is an internal balance.

description
string

Narration of the transaction.

scheduled_for
string

Indicates the date and time of a scheduled transaction.

Always format the date input as ‘YYYY-MM-DDTHH:MM:SS+00:00’ (e.g., 2024-04-22T15:28:03+00:00), where +00:00 specifies the timezone. It is UTC by default.

allow_overdraft
boolean
default: "false"

Specifies whether the transaction should proceed even if the source’s balance is insufficient. If enabled and the source has less than the required amount, the balance will become negative. See also: Overdrafts

inflight
boolean
default: "false"

Specifies that the transaction should be held until certain conditions are met. See also: Inflight transactions.

inflight_expiry_date
string

Specifies the date and time when an inflight transaction should expire. Once expired, the transaction is voided and the amount is rolled back.

Always format the date input as ‘YYYY-MM-DDTHH:MM:SS+00:00’ (e.g., 2024-04-22T15:28:03+00:00), where +00:00 specifies the timezone. It is UTC by default.

rate
integer

Defines the conversion rate to be applied when the transaction involves balances in different currencies. See also: Applying rates.

meta_data
object

Additional metadata of the transaction.

Response

All parameters from the request body also mean the same in the corresponding response JSON.
precise_amount
integer

This is computed by amount x precision. Learn why this is important: Why use precision

transaction_id
string

Unique id of the transaction.

parent_transaction
string

The transaction ID of the parent transaction. A parent transaction is one that impacts the creation of a new transaction, such as an inflight transaction, a scheduled transaction, or similar.

For instance, refunding a sample transaction A creates a new transaction B; therefore A is the parent transaction of B.

status
string

The status of the transaction. See the following: Transaction statuses.

hash
string

SHA-256 hash of the transaction details. Learn more: Transaction hashing

created_at
string

Indicates the date & time the transaction was created.

meta_data
User Object

Additional metadata of the transaction.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.

To ask questions or discuss issues, please contact us or join our Discord community.

Get access to Blnk Cloud.

Manage your Blnk Ledger and explore advanced features (access control & collaboration, anomaly detection, secure storage & file management, etc.) in one dashboard.