curl --request POST \
--url https://sandbox.api.fin.com/v2/beneficiaries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "cust_123456",
"country": "USA",
"currency": "USD",
"account_holder": {
"type": "INDIVIDUAL",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone": "+1234567890"
},
"account_holder_address": {
"street_line_1": "456 Main Street",
"city": "Brooklyn",
"state": "US-NY",
"postcode": "11201",
"country": "USA",
"street_line_2": "Apt 5B"
},
"receiver_meta_data": {
"transaction_purpose_id": 1,
"occupation_remarks": "Software Engineer",
"relationship": "EMPLOYEE",
"nationality": "USA",
"transaction_purpose_remarks": "Monthly salary payment",
"occupation_id": 5,
"relationship_remarks": "Long-term contractor",
"govt_id_number": "JG1121316A",
"govt_id_issue_date": "2024-12-30",
"govt_id_expire_date": "2027-12-30"
},
"developer_fee": {
"fixed": 5,
"percentage": 2.5
},
"deposit_instruction": {
"currency": "USDC",
"rail": "POLYGON"
},
"refund_instruction": {
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"currency": "USDC",
"rail": "POLYGON"
},
"bank_account": {
"bank_name": "Chase Bank",
"number": "1234567890",
"scheme": "LOCAL",
"type": "CHECKING"
},
"bank_routing": [
{
"scheme": "ACH",
"number": "021000021"
}
],
"bank_address": {
"street_line_1": "123 Bank Street",
"city": "New York",
"state": "US-NY",
"postcode": "10001",
"country": "USA",
"street_line_2": "Suite 100"
},
"counter_party": "FIRST_PARTY"
}
'{
"data": {
"id": "ben_123456",
"status": "active"
}
}Create a new beneficiary account for payments and transfers
curl --request POST \
--url https://sandbox.api.fin.com/v2/beneficiaries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "cust_123456",
"country": "USA",
"currency": "USD",
"account_holder": {
"type": "INDIVIDUAL",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone": "+1234567890"
},
"account_holder_address": {
"street_line_1": "456 Main Street",
"city": "Brooklyn",
"state": "US-NY",
"postcode": "11201",
"country": "USA",
"street_line_2": "Apt 5B"
},
"receiver_meta_data": {
"transaction_purpose_id": 1,
"occupation_remarks": "Software Engineer",
"relationship": "EMPLOYEE",
"nationality": "USA",
"transaction_purpose_remarks": "Monthly salary payment",
"occupation_id": 5,
"relationship_remarks": "Long-term contractor",
"govt_id_number": "JG1121316A",
"govt_id_issue_date": "2024-12-30",
"govt_id_expire_date": "2027-12-30"
},
"developer_fee": {
"fixed": 5,
"percentage": 2.5
},
"deposit_instruction": {
"currency": "USDC",
"rail": "POLYGON"
},
"refund_instruction": {
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"currency": "USDC",
"rail": "POLYGON"
},
"bank_account": {
"bank_name": "Chase Bank",
"number": "1234567890",
"scheme": "LOCAL",
"type": "CHECKING"
},
"bank_routing": [
{
"scheme": "ACH",
"number": "021000021"
}
],
"bank_address": {
"street_line_1": "123 Bank Street",
"city": "New York",
"state": "US-NY",
"postcode": "10001",
"country": "USA",
"street_line_2": "Suite 100"
},
"counter_party": "FIRST_PARTY"
}
'{
"data": {
"id": "ben_123456",
"status": "active"
}
}APPROVED status.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
"cust_123456"
^[A-Z]{3}$"USA"
"USD"
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
Indicates whether the beneficiary is a first-party or third-party account. Optional.
FIRST_PARTY, THIRD_PARTY "FIRST_PARTY"
Show child attributes
Beneficiary created successfully
Show child attributes