Get Bank Account
print_mail.bank_accounts.retrieve(strid) -> BankAccount
GET/print-mail/v1/bank_accounts/{id}
Get Bank Account
import os
from postgrid import PostGrid
client = PostGrid(
print_mail_api_key=os.environ.get("POSTGRID_PRINT_MAIL_API_KEY"), # This is the default and can be omitted
)
bank_account = client.print_mail.bank_accounts.retrieve(
"id",
)
print(bank_account.id){
"id": "bank_account_12345",
"object": "bank_account",
"live": false,
"bankName": "Test Bank",
"bankPrimaryLine": "145 mulberry st",
"bankSecondaryLine": "new york ny 10013",
"bankCountryCode": "US",
"accountNumber": "1234567",
"routingNumber": "123456789",
"signatureText": "Signature",
"createdAt": "2020-11-12T23:23:47.974Z",
"updatedAt": "2020-11-12T23:23:47.974Z"
}Returns Examples
{
"id": "bank_account_12345",
"object": "bank_account",
"live": false,
"bankName": "Test Bank",
"bankPrimaryLine": "145 mulberry st",
"bankSecondaryLine": "new york ny 10013",
"bankCountryCode": "US",
"accountNumber": "1234567",
"routingNumber": "123456789",
"signatureText": "Signature",
"createdAt": "2020-11-12T23:23:47.974Z",
"updatedAt": "2020-11-12T23:23:47.974Z"
}