Logo
GoCardless API API Documentation

Create a Bank Authorisation

POST {{url}}/bank_authorisations

Create a Bank Authorisation.

Create a Bank Authorisation API Docs

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status Created

{ "bank_authorisations": { "id": "BAU0000KK9MCNAQ", "url": "https://pay-sandbox.gocardless.com/obauth/BAU0000KK9MCNAQ", "qr_code_url": "https://pay-sandbox.gocardless.com/obauth/BAU0000KK9MCNAQ/qr_code", "created_at": "2024-03-22T21:36:57.512Z", "authorisation_type": "payment", "authorised_at": null, "last_visited_at": null, "expires_at": "2024-03-22T21:51:57.494Z", "redirect_uri": "https://pay.gocardless.com/open_banking/static/thankyou?id=BRQ0005Y9S478Q8", "links": { "billing_request": "BRQ0005Y9S478Q8", "institution": "read_refund_account_sandbox_bank" } } }



Curl
curl -X POST 'https://api-sandbox.gocardless.com/bank_authorisations' -d '{"bank_authorisations":{"links":{"billing_request":"billing_request"}}}'

ENDPOINTS