curl --request POST \
--url https://sandbox.api.fin.com/v3/beneficiaries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "6fa1ccd4-ffbd-4b20-a113-ccc286b35443",
"country": "BGD",
"currency": "BDT",
"counter_party": "FIRST_PARTY",
"account_holder": {
"type": "INDIVIDUAL",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone": "+8801912244626"
},
"bank_account": {
"bank_name": "Commonwealth Bank of Australia",
"number": "1234572211",
"scheme": "LOCAL",
"type": "SAVINGS"
},
"bank_address": {
"street_line_1": "Ground Floor Tower 1, 201 Sussex Street",
"city": "Dhaka",
"state": "BD-13",
"postcode": "1212",
"country": "BGD"
},
"account_holder_address": {
"street_line_1": "42 Wallaby Way",
"city": "Dhaka",
"state": "BD-13",
"postcode": "1212",
"country": "BGD"
},
"receiver_meta_data": {
"nationality": "AUS",
"transaction_purpose_id": 1,
"occupation_id": 5,
"relationship": "FAMILY_MEMBER",
"relationship_remarks": "Family & Friends"
},
"bank_routing": [
{
"scheme": "SWIFT",
"number": "CLNOUS66BRX"
},
{
"scheme": "BANK_IDENTIFIER",
"number": 160
},
{
"scheme": "BRANCH_IDENTIFIER",
"number": 8
}
],
"developer_fee": {
"fixed": 0.02,
"percentage": 0.01
},
"deposit_instruction": {
"currency": "USDC",
"rail": "POLYGON"
},
"refund_instruction": {
"wallet_address": "0x1b577931C1cC2765024bFbafad97bCe14FF2e87F",
"currency": "USDC",
"rail": "POLYGON"
},
"settlement_config": {
"auto_settlement": true
}
}
'{
"data": {
"beneficiary_id": "0254b433-e47d-412e-844b-b735c4bbba74"
}
}Create a new beneficiary account for payments and transfers
curl --request POST \
--url https://sandbox.api.fin.com/v3/beneficiaries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "6fa1ccd4-ffbd-4b20-a113-ccc286b35443",
"country": "BGD",
"currency": "BDT",
"counter_party": "FIRST_PARTY",
"account_holder": {
"type": "INDIVIDUAL",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone": "+8801912244626"
},
"bank_account": {
"bank_name": "Commonwealth Bank of Australia",
"number": "1234572211",
"scheme": "LOCAL",
"type": "SAVINGS"
},
"bank_address": {
"street_line_1": "Ground Floor Tower 1, 201 Sussex Street",
"city": "Dhaka",
"state": "BD-13",
"postcode": "1212",
"country": "BGD"
},
"account_holder_address": {
"street_line_1": "42 Wallaby Way",
"city": "Dhaka",
"state": "BD-13",
"postcode": "1212",
"country": "BGD"
},
"receiver_meta_data": {
"nationality": "AUS",
"transaction_purpose_id": 1,
"occupation_id": 5,
"relationship": "FAMILY_MEMBER",
"relationship_remarks": "Family & Friends"
},
"bank_routing": [
{
"scheme": "SWIFT",
"number": "CLNOUS66BRX"
},
{
"scheme": "BANK_IDENTIFIER",
"number": 160
},
{
"scheme": "BRANCH_IDENTIFIER",
"number": 8
}
],
"developer_fee": {
"fixed": 0.02,
"percentage": 0.01
},
"deposit_instruction": {
"currency": "USDC",
"rail": "POLYGON"
},
"refund_instruction": {
"wallet_address": "0x1b577931C1cC2765024bFbafad97bCe14FF2e87F",
"currency": "USDC",
"rail": "POLYGON"
},
"settlement_config": {
"auto_settlement": true
}
}
'{
"data": {
"beneficiary_id": "0254b433-e47d-412e-844b-b735c4bbba74"
}
}APPROVED status.ACTIVE.bank_account.scheme, bank_account.number, bank_routing.scheme, bank_routing.number.
For e-wallets: e_wallet.scheme, e_wallet.number.
^[0-9]{4,9}$ for both LOCAL and SWIFT schemes.Bearer token authentication. Obtain token from /v1/oauth/token endpoint
"6fa1ccd4-ffbd-4b20-a113-ccc286b35443"
^[A-Z]{3}$"BGD"
"BDT"
FIRST_PARTY, THIRD_PARTY "FIRST_PARTY"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Beneficiary created successfully
Show child attributes