Unmask a linked bank account
embed.linked_bank_accounts.unmask(strlinked_bank_account_id, LinkedBankAccountUnmaskParams**kwargs) -> LinkedBankAccountUnmaskV1
/v1/linked_bank_accounts/{linked_bank_account_id}/unmask
Retrieves the unmasked details of a linked bank account that has previously been created. Supply the unique linked bank account id, and Straddle will return the corresponding information, including sensitive details. This endpoint needs to be enabled by Straddle for your account and should only be used when absolutely necessary.
Parameters
linked_bank_account_id: str
correlation_id: Optional[str]
request_id: Optional[str]
Returns
Unmask a linked bank account
from straddle import Straddle
client = Straddle(
api_key="My API Key",
)
linked_bank_account_unmask_v1 = client.embed.linked_bank_accounts.unmask(
linked_bank_account_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(linked_bank_account_unmask_v1.data)
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"account_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"bank_account": {
"account_holder": "account_holder",
"account_number": "account_number",
"institution_name": "institution_name",
"routing_number": "routing_number"
},
"created_at": "2019-12-27T18:11:19.117Z",
"status": "created",
"status_detail": {
"code": "code",
"message": "message",
"reason": "unverified",
"source": "watchtower"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"metadata": {
"foo": "string"
}
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}Returns Examples
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"account_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"bank_account": {
"account_holder": "account_holder",
"account_number": "account_number",
"institution_name": "institution_name",
"routing_number": "routing_number"
},
"created_at": "2019-12-27T18:11:19.117Z",
"status": "created",
"status_detail": {
"code": "code",
"message": "message",
"reason": "unverified",
"source": "watchtower"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"metadata": {
"foo": "string"
}
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}