v1
latestOpenAPI 3.1.02026-07-2483219318.4 KBPayments
Create one-off payment
Akahu's one-off payment service uses official open banking connections to initiate payments directly from your users' New Zealand bank accounts.
Create a payment by specifying the amount, payee account details, and optional statement reference fields. All payments require a redirect_uri. This is where the user will be returned upon completing authorisation.
Once the payment is created, send your user to the authorisation_url to complete payment authorisation.
post/v1/one-off-payments
Request body
Example request
{
"payee": {
"name": "John Smith",
"account_number": "12-3456-7890123-00"
},
"payer": {
"name": "Jane Smith",
"account_number": "12-3456-7890123-10"
},
"amount": 12.34,
"redirect_uri": "https://myapp.com/payments/complete",
"webhook_uri": "https://myapp.com/payments/webhooks"
}Response
Success
Example response
{
"_id": "one_off_payment_c01234567890123456789012345",
"authorisation_url": "https://payments.akahu.nz/?payment=one_off_payment_c01234567890123456789012345"
}