Skip to main content
POST
/
v1
/
batch
/
transactions
/
commit
Execute Batch Transfer
curl --request POST \
  --url https://sandbox.api.fin.com/v1/batch/transactions/commit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "beneficiary_id": "d6ae4ea6-0482-47ab-a895-02e50ea6358b",
    "source_amount": 500,
    "source_currency": "USD",
    "deduct_from": "PREFUNDED_BALANCE",
    "remarks": "Monthly salary payment"
  }
]
'
{
"data": {
"batch_id": "36cb42f5-ad92-4b58-ab82-a71e28a91fcc",
"items": [
{
"id": "d0623995-ad66-4b2f-86e3-75a521e732bf",
"beneficiary_id": "b07c2ec8-949e-4c87-adfb-c0ac4a61a9cf",
"source_amount": 500,
"source_currency": "USD",
"deduct_from": "PREFUNDED_BALANCE",
"remarks": "auto settle false BGD",
"reason": null,
"status": "PROCESSING",
"transaction_id": "48ab8313-9770-4f6e-86e6-3390aa4c02f0",
"exchange_rate": 135,
"destination_currency": "BDT",
"destination_amount": 261,
"developer_fee": {
"fixed": 126,
"percentage": 100,
"total": 216
}
},
{
"id": "357067f0-3ae0-4f6e-a9b9-9db1cb6ecef0",
"beneficiary_id": "79505716-2296-4c20-aff7-35699d2048a8",
"source_amount": 750,
"source_currency": "USD",
"deduct_from": "LIQUIDATION_ADDRESS",
"remarks": "auto settle false",
"reason": "unable to process this transaction at the moment",
"status": "FAILED",
"transaction_id": null,
"exchange_rate": 135,
"destination_currency": "BDT",
"destination_amount": 261,
"developer_fee": {
"fixed": 126,
"percentage": 100,
"total": 216
}
}
]
}
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain token from /v1/oauth/token endpoint

Body

application/json
beneficiary_id
string<uuid>
required

Unique identifier for the beneficiary

Example:

"d6ae4ea6-0482-47ab-a895-02e50ea6358b"

source_amount
number
required

Amount to transfer in cents (minimum 500 cents)

Required range: x >= 500
Example:

500

source_currency
string
required

Source currency code

Example:

"USD"

deduct_from
enum<string>
required

Source of funds for the transfer. Note: Only PREFUNDED_BALANCE transactions are eligible for refunds if they fail.

Available options:
PREFUNDED_BALANCE,
LIQUIDATION_ADDRESS
remarks
string

Any remarks for the compliance team or notes for the transaction. If passing remarks are supported for a corridor then the system will automatically pass it along with the transaction

Example:

"Monthly salary payment"

Response

Batch created successfully

data
object