Register Bank Account
POST/bank-account
Registers a bank account (CLABE) under your API key so it can receive CoDi payments. The account is created with codiStatus: pending; Pey registers it with Banxico and updates the status to active once it can receive payments, which takes up to 5 business days. Use Get Bank Account to check the status, or listen for the Bank Account Updated webhook, which is sent when the account becomes active. Once the account is active, pass its id as bankAccountId when creating a CoDi QR or push notification.
Request
Responses
- 200
- 400
- 500
- 503
Bank account registered successfully
Bad request - Invalid parameters, missing fields, or validation error
Internal server error
Service unavailable - The endpoint is temporarily under maintenance