curl --request POST \
--url https://api.useswift.dev/user_banks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"account_number": "12345678",
"account_holder_type": "individual",
"bank_account_type": "checking",
"routing_number": "12345678",
"user_id": "user_vjb43lkAdf934jb13Df93"
}'
{
"account_number": "12345678",
"account_holder_type": "individual",
"bank_account_type": "checking",
"created_at": "2024-01-31T23:59:59Z",
"id": "user_bank_vjb43lkAdf934jb13Df93",
"is_rtp_enabled": true,
"is_rtp_rfp_enabled": true,
"routing_number": "12345678",
"status": "active",
"user_id": "user_vjb43lkAdf934jb13Df93",
"verification_status": "verified"
}
curl --request POST \
--url https://api.useswift.dev/user_banks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"account_number": "12345678",
"account_holder_type": "individual",
"bank_account_type": "checking",
"routing_number": "12345678",
"user_id": "user_vjb43lkAdf934jb13Df93"
}'
{
"account_number": "12345678",
"account_holder_type": "individual",
"bank_account_type": "checking",
"created_at": "2024-01-31T23:59:59Z",
"id": "user_bank_vjb43lkAdf934jb13Df93",
"is_rtp_enabled": true,
"is_rtp_rfp_enabled": true,
"routing_number": "12345678",
"status": "active",
"user_id": "user_vjb43lkAdf934jb13Df93",
"verification_status": "verified"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Parameters for creating a User Bank.
User Bank
User Banks represent bank accounts linked to a User.