API Reference
Endpoint Reference
cURL
curl --request POST \ --header 'Authorization: Bearer YOUR_SECRET_API_KEY' \ --url https://sandbox.straddle.com/v1/bridge/bank_account \ --header 'Content-Type: application/json' \ --data '{ "customer_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", "routing_number": "<string>", "account_number": "<string>", "account_type": "checking" }'
{ "meta": { "api_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "api_request_timestamp": "2023-11-07T05:31:56Z" }, "response_type": "object", "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "label": "<string>", "source": "bank_account", "institution_name": "Bank of America", "status": "active", "status_details": { "message": "Bank account sucesfully validated", "reason": "insufficient_funds", "source": "watchtower", "code": "<string>", "changed_at": "2023-11-07T05:31:56Z" }, "expires_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "paykey": "<string>", "bank_data": { "routing_number": "021000021", "account_number": "****1234", "account_type": "checking" }, "metadata": {}, "config": { "sandbox_outcome": "standard", "processing_method": "inline" }, "balance": { "account_balance": 123, "updated_at": "2023-11-07T05:31:56Z", "status": "pending" }, "external_id": "<string>" } }
Use this endpoint to use the Bridge API with a ‘raw’ bank account.
10 - 40
9
checking
savings
Show child attributes
object
array
error
none