Get the client's payout account
The account the client confirmed for payout, available once deal.account_submitted has fired. Until then this answers 404, which is the honest state rather than an empty account.
Authorization
ApiKeyAuth X-API-Key<token>
Lender keys start with cv_live_; Partner keys start with cv_pk_. Shown once at creation, sent on every request.
In: header
Path Parameters
ref*string
The deal reference, e.g. CV93A41205. Case-insensitive.
Response Body
application/json
application/json
application/json
application/json
Shell
curl -X GET "https://sandbox.capvant.com/deals/string/bank-account"JSON
{ "bank_account": { "account_holder": "string", "sort_code": "string", "account_number": "string", "submitted_at": "2019-08-24T14:15:22Z" }}