Get encrypted bank details#
GET
/bank_account_details/{customer_bank_account_id}Returns bank account details in the flattened JSON Web Encryption format described in RFC 7516.
You must specify a Gc-Key-Id header when using this endpoint. See Public Key Setup for more details.
Path Parameters
| Name | Type | Description |
|---|---|---|
customer_bank_account_idrequired | string | The customer bank account id |
Responsehttp
Response 200
Successful response
bank_account_detailsobject5 properties
protectedstring
Base64 URL encoded JWE header values, containing the following keys:
alg: the asymmetric encryption type used to encrypt symmetric key, e.g:RSA-OAEP.enc: the content encryption type, e.g:A256GCM.kid: the ID of an RSA-2048 public key, from your JWKS, used to encrypt the AES key.
encrypted_keystring
Base64 URL encoded symmetric content encryption key, encrypted with the asymmetric key from your JWKS.
ivstring
Base64 URL encoded initialization vector, used during content encryption.
ciphertextstring
Base64 URL encoded encrypted payload, in this case bank details.
tagstring
Base64 URL encoded authentication tag, used to verify payload integrity during decryption.
Errors 400401404422500
400
Bad Request
401
Unauthorised
404
Not found
422
Validation Error
500
Internal Error
Error Body
codeintegerdocumentation_urlstringerrorsarray2 properties
reasonstringmessagestringmessagestringrequest_idstringtypestringmetadataobjectlinksobject