This page is a ZenPay-styled copy of the Zenith Payments developer documentation. View the original docs
Customer APIs
Self-service REST API for merchant customers, using a Bearer token issued by the customer through their own portal account (distinct from the Merchant API's ZenPay-issued Basic/Api-Key credentials).
Download the OpenAPI spec (openapi-v3.json)
Servers#
Customer APIs — choose an environment prefix and brand domain
https://{subdomain}.{baseDomain}
| Variable | Default | Values | Description |
|---|---|---|---|
subdomain | api.sandbox | api, apiuat, api.sandbox | Environment prefix |
baseDomain | travelpay.com.au | travelpay.com.au, b2bpay.com.au, childcareeasypay.com.au, schooleasypay.com.au, rentalrewards.com.au, zenpay.com.au, thoroughbredpayments.com.au | Brand domain |
Authentication#
- HTTP: Bearer Auth
BearerAuth
| Security scheme type | http |
|---|---|
| HTTP authorization scheme | bearer |
Ping method to get the server date time and version information#
View this endpoint in the original docs
Authentication: BearerAuth
Responses
200 Self check endpoing
application/json · object (PingResponse)
Example: server-diagnostics
Server diagnostics
{
"serverDateTime": "2026-09-19T18:10:23.2409872",
"version": "v3.0",
"timeZoneInfo": "Australian Eastern Standard Time",
"buildVersion": "1.137.1.19365"
}Example request (cURL, sandbox host)
curl -X GET 'https://api.sandbox.zenpay.com.au/v3/diagnostics/ping' \
-H 'Authorization: Bearer <token>' \
-H 'Accept: application/json'Get a payment by reference#
View this endpoint in the original docs
Returns the payment for the specified customer and payment reference.
Authentication: BearerAuth
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerCode required | path | string | |
paymentReference required | path | string |
Responses
200 OK
application/json · object
Example: payment-read-by-reference
Payment read by reference
{
"paymentReference": "247086",
"uniquePaymentId": "v3-capture-1789805452955",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "9935442a-6930-428d-b6eb-fa969522e49a",
"baseAmount": 1,
"customerFee": 0,
"fundsToMerchant": 1,
"processedAmount": 1,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-09-19T18:10:56",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-09-23",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.2420u",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 58,
"paymentSourceString": "Cust.Api Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
}Example request (cURL, sandbox host)
curl -X GET 'https://api.sandbox.zenpay.com.au/v3/{customerCode}/payments/{paymentReference}' \
-H 'Authorization: Bearer <token>' \
-H 'Accept: application/json'Get a payment by unique ID#
View this endpoint in the original docs
Returns the payment for the specified customer and unique payment ID.
Authentication: BearerAuth
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerCode required | path | string | |
uniquePaymentId required | path | string |
Responses
200 OK
application/json · object
Example: payment-read-by-unique-id
Payment read by unique id
{
"paymentReference": "247086",
"uniquePaymentId": "v3-capture-1789805452955",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "9935442a-6930-428d-b6eb-fa969522e49a",
"baseAmount": 1,
"customerFee": 0,
"fundsToMerchant": 1,
"processedAmount": 1,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-09-19T18:10:56",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-09-23",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.2420u",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 58,
"paymentSourceString": "Cust.Api Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
}Example request (cURL, sandbox host)
curl -X GET 'https://api.sandbox.zenpay.com.au/v3/{customerCode}/uniquePaymentId/{uniquePaymentId}' \
-H 'Authorization: Bearer <token>' \
-H 'Accept: application/json'Get all the payments#
View this endpoint in the original docs
Authentication: BearerAuth
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerCode required | path | string | Customer code |
uniqueCustomerId | query | string | Unique Customer ID. This can be configured at the customer portal. |
paymentReference | query | string | Payment reference |
customerReference | query | string | Customer reference |
uniquePaymentId | query | string | Unique payment id. |
fromProcessedDate | query | string <date-time> | From date |
toProcessedDate | query | string <date-time> | To date |
pageOffset | query | integer <int32> | Record start Default: 0 |
pageLimit | query | integer <int32> | Number of records Default: 20 |
Responses
200 OK
application/json · object
Example: payments-listed
Payments listed
{
"items": [
{
"paymentReference": "221423",
"customerCode": "TB18780151",
"customerName": "ian menethil",
"customerReference": "test6",
"baseAmount": 6,
"customerFee": 0,
"fundsToMerchant": 6,
"processedAmount": 6,
"paymentAccount": "*****312",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-03-31T16:01:01",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-04-02",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1z0he",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0,
"uniqueCustomerId": "DWYQK6PJCQ8U5EPA"
},
{
"paymentReference": "221422",
"customerCode": "TB18780151",
"customerName": "ian menethil",
"customerReference": "test5",
"baseAmount": 5,
"customerFee": 0,
"fundsToMerchant": 5,
"processedAmount": 5,
"paymentAccount": "*****312",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-03-31T16:01:01",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-04-02",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1z0hd",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0,
"uniqueCustomerId": "DWYQK6PJCQ8U5EPA"
},
{
"paymentReference": "221421",
"customerCode": "TB18780151",
"customerName": "ian menethil",
"customerReference": "4",
"baseAmount": 4,
"customerFee": 0,
"fundsToMerchant": 4,
"processedAmount": 4,
"paymentAccount": "*****312",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-03-31T15:51:14",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-04-02",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1z0h2",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0,
"uniqueCustomerId": "DWYQK6PJCQ8U5EPA"
},
{
"paymentReference": "221420",
"customerCode": "TB18780151",
"customerName": "ian menethil",
"customerReference": "x1",
"baseAmount": 3,
"customerFee": 0,
"fundsToMerchant": 3,
"processedAmount": 3,
"paymentAccount": "*****312",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-03-31T15:51:14",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-04-02",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1z0h1",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0,
"uniqueCustomerId": "DWYQK6PJCQ8U5EPA"
},
{
"paymentReference": "221419",
"customerCode": "TB18780151",
"customerName": "ian menethil",
"customerReference": "test",
"additionalReference": "test2",
"baseAmount": 2,
"customerFee": 0,
"fundsToMerchant": 2,
"processedAmount": 2,
"paymentAccount": "*****312",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-03-31T15:46:48",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-04-02",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1z0h0",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0,
"uniqueCustomerId": "DWYQK6PJCQ8U5EPA"
},
{
"paymentReference": "221412",
"customerCode": "TB18780151",
"customerName": "ian menethil",
"customerReference": "testref",
"additionalReference": "test",
"baseAmount": 5,
"customerFee": 0,
"fundsToMerchant": 5,
"processedAmount": 5,
"paymentAccount": "*****312",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2026-03-31T14:21:00",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-04-02",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1z0fy",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0,
"uniqueCustomerId": "DWYQK6PJCQ8U5EPA"
},
{
"paymentReference": "74444",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "hello",
"baseAmount": 10,
"customerFee": 0,
"fundsToMerchant": 10,
"processedAmount": 10,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-10T07:01:00",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1g1lp",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 39,
"paymentSourceString": "Api Tokenised Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "74443",
"uniquePaymentId": "b620653e-a68c-4654-8c5a-013786e298ff",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "3831f872-6440-4e68-a2a5-77308e6d3fa6",
"oneOffPaymentReference": "Drive Account Avon Borders",
"additionalReference": "SDD synthesizing",
"baseAmount": 5,
"customerFee": 0,
"fundsToMerchant": 5,
"processedAmount": 5,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-10T07:01:00",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1g1lo",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 58,
"paymentSourceString": "Cust.Api Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "74442",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "q1",
"baseAmount": 2,
"customerFee": 0,
"fundsToMerchant": 2,
"processedAmount": 2,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-09T23:55:13",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1fzgm",
"isPaymentSettledToMerchant": false,
"merchantName": "menethil",
"merchantCode": "menethil",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "74441",
"customerCode": "TB18780151",
"customerName": "Elliot Alderson",
"customerReference": "e2",
"baseAmount": 2,
"customerFee": 0,
"fundsToMerchant": 2,
"processedAmount": 2,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-09T23:46:13",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1fzgl",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "74440",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "asdq1",
"baseAmount": 11,
"customerFee": 0,
"fundsToMerchant": 11,
"processedAmount": 11,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-09T23:46:13",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1fzgk",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "74439",
"uniquePaymentId": "dbedb999-917a-4e03-9e46-6383128102c4",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "9935442a-6930-428d-b6eb-fa969522e49a",
"oneOffPaymentReference": "Licensed bypassing salmon Product",
"additionalReference": "compress Representative Wooden hub SCSI",
"baseAmount": 5,
"customerFee": 0,
"fundsToMerchant": 5,
"processedAmount": 5,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-09T23:38:40",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1fzgj",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 58,
"paymentSourceString": "Cust.Api Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "74438",
"customerCode": "TB18780151",
"customerName": "Elliot Alderson",
"customerReference": "pay2",
"baseAmount": 5,
"customerFee": 0,
"fundsToMerchant": 5,
"processedAmount": 5,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-09T23:24:00",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1fzgi",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "74437",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "123asd1",
"additionalReference": "asd1",
"baseAmount": 2,
"customerFee": 0,
"fundsToMerchant": 2,
"processedAmount": 2,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-09-09T23:24:00",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-09-12",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1fzgh",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "73335",
"customerCode": "TB18780151",
"customerName": "Elliot Alderson",
"customerReference": "Mr Robot - Bank Ref",
"baseAmount": 2,
"customerFee": 0,
"fundsToMerchant": 2,
"processedAmount": 2,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-08-20T17:01:25",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-08-22",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1exgm",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "73320",
"customerCode": "TB18780151",
"customerName": "Elliot Alderson",
"customerReference": "Mr Robot - Bank Ref",
"baseAmount": 2.01,
"customerFee": 0,
"fundsToMerchant": 2.01,
"processedAmount": 2.01,
"paymentAccount": "*****212",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-08-20T14:49:26",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-08-22",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1exfl",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "73319",
"customerCode": "TB18780151",
"customerName": "Elliot Alderson",
"customerReference": "Mr Robot - Bank Ref",
"baseAmount": 2.03,
"customerFee": 0,
"fundsToMerchant": 2.03,
"processedAmount": 2.03,
"paymentAccount": "*****212",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-08-20T14:49:26",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-08-22",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1exfk",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "73318",
"customerCode": "TB18780151",
"customerName": "Elliot Alderson",
"customerReference": "Mr Robot - Bank Ref",
"baseAmount": 2.03,
"customerFee": 0,
"fundsToMerchant": 2.03,
"processedAmount": 2.03,
"paymentAccount": "*****678",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-08-20T14:33:06",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-08-22",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1exfd",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 0,
"paymentSourceString": "Cust.WebPay",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "69067",
"uniquePaymentId": "9ff866b7-9655-4a44-98a3-f743922c355b",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "9938f1dc-56a2-4f8d-a51c-c28c88a79e48",
"oneOffPaymentReference": "forecast",
"additionalReference": "Id id nobis alias alias voluptas sit est nisi.",
"baseAmount": 825.06,
"customerFee": 0,
"fundsToMerchant": 825.06,
"processedAmount": 825.06,
"paymentAccount": "******596",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-06-16T18:26:57",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-06-19",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1cmvm",
"isPaymentSettledToMerchant": false,
"merchantName": "Email Test 3",
"merchantCode": "EmailT3",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 58,
"paymentSourceString": "Cust.Api Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
},
{
"paymentReference": "69066",
"uniquePaymentId": "3274db14-a2bc-4109-8b75-5b987327cb9f",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "8c63c424-1640-4025-aaea-67426ae414e2",
"oneOffPaymentReference": "definition",
"additionalReference": "Order 1042 - deposit",
"baseAmount": 172.86,
"customerFee": 0,
"fundsToMerchant": 172.86,
"processedAmount": 172.86,
"paymentAccount": "******596",
"paymentCard": "Bank_Account",
"cardType": 4,
"cardTypeString": "Bank Account",
"paymentCardString": "Bank Account",
"processingDate": "2024-06-16T18:26:57",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2024-06-19",
"paymentMethod": 1,
"paymentMethodString": "Bank Account",
"processorReference": "PR.1cmvl",
"isPaymentSettledToMerchant": false,
"merchantName": "Email Test 3",
"merchantCode": "EmailT3",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"cardCategory": "Bank Account",
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 58,
"paymentSourceString": "Cust.Api Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
}
],
"itemCount": 136,
"pageOffset": 0,
"pageLimit": 20
}Example request (cURL, sandbox host)
curl -X GET 'https://api.sandbox.zenpay.com.au/v3/{customerCode}/payments' \
-H 'Authorization: Bearer <token>' \
-H 'Accept: application/json'Create a payment#
View this endpoint in the original docs
Creates a payment from the supplied request payload.
Authentication: BearerAuth
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerCode required | path | string |
Request body
Content types: application/json, application/x-www-form-urlencoded · required
Schema: PaymentRequest
| Field | Type | Description |
|---|---|---|
merchantCode required | string | |
customerReference required | string | |
paymentAmount required | number <double> | |
uniquePaymentId required | string | Max length: 50 |
oneOffPaymentReference | string | |
additionalReference | string | |
sendPaymentConfirmation | boolean | |
uniqueCustomerId | string | Unique Customer ID. This can be configured at the customer portal. Max length: 20 |
Example: payment-created
Payment created
{
"merchantCode": "1337",
"customerReference": "9935442a-6930-428d-b6eb-fa969522e49a",
"paymentAmount": 1,
"uniquePaymentId": "v3-capture-1789805452955",
"sendPaymentConfirmation": false
}Responses
200 OK
application/json · object
201
Example: payment-created
Payment created
{
"paymentReference": "247086",
"uniquePaymentId": "v3-capture-1789805452955",
"customerCode": "TB18780151",
"customerName": "Ian Menethil",
"customerReference": "9935442a-6930-428d-b6eb-fa969522e49a",
"baseAmount": 1,
"customerFee": 0,
"fundsToMerchant": 0,
"processedAmount": 1,
"paymentAccount": "*****678",
"cardType": 4,
"cardTypeString": "Bank Account",
"subCardType": 4,
"subCardTypeString": "Bank Account",
"processingDate": "2026-09-19T18:10:56",
"paymentStatus": 3,
"paymentStatusString": "Successful",
"settlementDate": "2026-09-23",
"processorReference": "PR.2420u",
"isPaymentSettledToMerchant": false,
"merchantName": "Menethil",
"merchantCode": "1337",
"isPaymentRetryScheduled": false,
"processorRetryCount": 0,
"isPaymentRecalled": false,
"isPaymentRefunded": false,
"paymentType": 1,
"paymentTypeString": "Charge",
"isPaymentChargeBacked": false,
"paymentSource": 58,
"paymentSourceString": "Cust.Api Payment",
"hasPendingRefundRequest": false,
"isPartialRefund": false,
"refundedAmount": 0,
"refundedCustomerFeeAmount": 0
}300
Example: payment-id-resent
Payment id resent
{
"message": "The Payment unique id already exists."
}Example request (cURL, sandbox host)
curl -X POST 'https://api.sandbox.zenpay.com.au/v3/{customerCode}/payments' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"merchantCode": "1337",
"customerReference": "9935442a-6930-428d-b6eb-fa969522e49a",
"paymentAmount": 1,
"uniquePaymentId": "v3-capture-1789805452955",
"sendPaymentConfirmation": false
}'PaymentRequest#
View this schema in the original docs
| Field | Type | Description |
|---|---|---|
merchantCode required | string | |
customerReference required | string | |
paymentAmount required | number <double> | |
uniquePaymentId required | string | Max length: 50 |
oneOffPaymentReference | string | |
additionalReference | string | |
sendPaymentConfirmation | boolean | |
uniqueCustomerId | string | Unique Customer ID. This can be configured at the customer portal. Max length: 20 |
PingResponse#
View this schema in the original docs
Ping result
| Field | Type | Description |
|---|---|---|
serverDateTime | string <date-time> | Server Date Time |
version | string | API version |
timeZoneInfo | string | DateTime Time Zone |
buildVersion | string | Build version |
Contact#
ZenPay Integrations Team: integrations@zenithpayments.com.au