External Accounts
Users
Events
Real-Time Payments
- GETList Request for Payment Registrations
- GETList Real-Time Payments Request for Payments
- POSTCreate a Real-Time Payments Request for Payment
- GETRetrieve a Real-time Payments Request for Payment
- POSTCancel a Real-time Payments Request for Payment
- POSTComplete a Sandbox Real-time Payments Request for Payment
- GETRetrieve Routing Number Info
Users
Link a User Bank
POST
/
user_banks
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"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Parameters for creating a User Bank.
Response
200
application/json
User Bank
User Banks represent bank accounts linked to a User.
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"
}