New Zealand bank account payouts
Pay out to a New Zealand bank account by its bank, branch, and account numbers.
Pay out to a New Zealand bank account. See New Zealand bank account in Payout connections for the providers that pay out to it.
Pay out with the API
When you have the recipient's details, send POST /v1/payouts with destination_data.type set to "nz_bank_account" and a unique idempotency-key header. Amounts are in minor units, so 10000 is NZ$100.00. Send the recipient's bank_code, branch_code, and account_number, plus suffix if applicable.
{
"amount": 10000,
"currency": "nzd",
"destination_data": {
"type": "nz_bank_account",
"nz_bank_account": {
"bank_code": "01",
"branch_code": "0123",
"account_number": "0123456",
"suffix": "00",
"account_holder_name": "Jane Smith"
}
},
"reference": "payout-12345"
}{
"id": "po_687092287729042432",
"resource": "payout",
"amount": 10000,
"currency": "nzd",
"status": "pending",
"payment_method_details": {
"type": "nz_bank_account"
},
"reference": "payout-12345",
"test_mode": true
}destination_data.nz_bank_account accepts these fields.
| Field | Description |
|---|---|
bank_code | The two-digit bank code. |
branch_code | The four-digit branch code. |
account_number | The account number (base number). |
suffix | The account number suffix, if applicable. |
account_holder_name | Full name of the account holder. |
account_holder_type | Type of the account holder, for example individual or company. |
account_type | Type of the bank account. |
bank_name | Name of the bank. |
See Create a payout for common payout fields, and Track and manage payouts for payout statuses and webhook events.
Pay out to a saved New Zealand bank account
When the customer already saved their New Zealand bank account with you, pay out to it without asking for their details again. It can be a payment method saved when they paid, or in a setup session. Read its ID from payment_method on the charge or payment session, or list the customer's payment methods with GET /v1/customers/{reference_id}/payment_methods. Then pass the ID as destination in POST /v1/payouts.
{
"amount": 10000,
"currency": "nzd",
"destination": "pm_nz_bank_account_750042760773370880",
"customer_reference_id": "cust-001",
"reference": "payout-12345"
}Pay out only to a payment method whose flow_directions.payout is true. Pay.com sends the payout to any saved method you name, so one that can't receive payouts comes back declined, with 400 and payment_method_error. When you send customer_reference_id, the payment method must belong to that customer.
Next steps
- Track and manage payouts: Follow payout statuses, webhook events, cancellations, and returns.
- Test and go live: Test sandbox outcomes and complete the go-live checklist.