Skip to content
Bank Accounts

Create Bank Authoritydeprecated

POST/api/bank-authorities

If you're creating new interfaces, please work with Create Bank Account.

Creating a Bank Authority both creates a new Bank Account and a direct debit authority. By using this endpoint, the user accepts our Direct Debit terms and has authority to operate this account.

Request body

  • accountIdrequired string
    The id of the owning Centrapay Account.
  • bankAccountNamerequired string
    The name on the Bank Account provided by the user.
  • bankAccountNumberrequired string
    The user's Bank Account number.
  • emailAddressoptional string
    The user's email address.
  • fullNameoptional string
    The first and last name of the user.
  • phoneNumberrequired string
    The user's phone number.

Responses

Request
curl -X POST https://service.centrapay.com/api/bank-authorities \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"accountId": "Jaim1Cu1Q55uooxSens6yk",
"bankAccountName": "John Doe",
"bankAccountNumber": "12-1234-1234567-123",
"emailAddress": "John.doe@email.com",
"fullName": "John Doe",
"phoneNumber": "+64212345678"
}'