Retrieve Bank Account
By default you can see the 10 most recent sources stored on a customer directly on the object, but you can also retrieve details about specific bank account stored on the api.
GET
/v1/customers/:id/sources/:id
curl https://{provided url}/v1/customers/P2ZTA56JQ7-AvwGf0pHd2Q/sources/TlnNDVS6TteSn2-FEh3ZKg \
-u sk_test_yFStF-KUmgr-7CoumuY2JA:
This request should return a JSON response with the structure:
{
"id": "TlnNDVS6TteSn2-FEh3ZKg",
"account_holder_name": "John Doe",
"account_holder_type": "individual",
"country": "PL",
"currency": "EUR",
"customer": "P2ZTA56JQ7-AvwGf0pHd2Q",
"fingerprint": "R1gbK7BauiX3XdnUCQRhzlnvMxxtSKVS7NqScFBeVRE",
"last4": "6784",
"routing_number": "110000000",
"swift_code": "PPABPLPK",
"status": "new",
"type": "bank_account"
}
Returns
Returns the bank account object.
Last updated