This page is a ZenPay-styled copy of the Zenith Payments developer documentation. View the original docs
Merchant API schemas
Request and response models used by the Merchant APIs (v2).
AccountProxy#
Payment Account Reference
View this schema in the original docs
Payment account proxy reference. Recommended over CardProxy.
| Field | Type | Description |
|---|---|---|
label | string | Label for the account. Max length: 80 |
proxy required | string | Card or bank account proxy. Proxy is generated using the Payments Plugin for bank account and card or /cardProxies api for card. Max length: 40 |
AdditionalReference#
Additional Reference
View this schema in the original docs
Additional customer reference entry containing a full name and customer reference.
| Field | Type | Description |
|---|---|---|
customerReference | string | Customer reference linked to this additional reference. |
fullName | string | Full name associated with the additional reference. |
AmbiguousResult#
Ambiguous Result
View this schema in the original docs
Response returned when a duplicate is detected (HTTP 300). Indicates the resource already exists.
Type: object
ApiBatchPayEntry#
Batch Payment Entry
View this schema in the original docs
Individual entry within a batch payment including amount, status, and reference.
| Field | Type | Description |
|---|---|---|
additionalReference | string | Additional reference. (Conditional). |
baseAmount | number <double> | Base amount of the payment is done. |
cardCategory | string | Card category. |
cardTypeString | string | Card scheme the payment was processed on, as text. For example: Visa. |
cardTypeValue | integer <int32> | Card scheme the payment was processed on, as its numeric code. Pairs with |
companyName | string | Customer company name. |
customerFee | number <double> | Fee charged on customer card. |
customerName | string | Customer who paid the payment. |
customerReference | string | Reference of the Customer who paid the payment. |
entryStatus | string | One of:
|
failureCode | string | Failure code if the payment failed. Please refer: http://tinyurl.com/y6lkmpsv for more details. (Conditional). |
failureReason | string | Failure reason if the payment failed. (Conditional). |
isPaymentRecalled | boolean | Payment recalled. |
isPaymentRefunded | boolean | Payment refunded. |
isPaymentRetryScheduled | boolean | Whether a retry payment is pending. Based on Program/Merchant settings, a failed payment will be retried. |
lastDigits | string | Payment Card No. |
merchantCode | string | Merchant code. |
merchantFee | number <double> | Fee charged on Merchant. |
merchantName | string | Merchant trading name. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. (Conditional). |
merchantWithheldAmount | number <double> | Funds to Merchant. |
paymentAmount | number <double> | Total payment amount including the fees. |
paymentCard | string | Payment card used. |
paymentDate | string <date-time> | Payment date. |
paymentMethod | string | Method was used to process the transaction. ie: Bank Account, Credit Card, etc. |
paymentReference | string | Unique Payment Reference for the payment done. |
paymentResource | string | Link to the actual payment. |
paymentStatus | string | One of:
|
processedAmount | number <double> | Total payment amount including the fees. |
processingDate | string <date-time> | Processing Date for the payment. Date Format: yyyy-MM-ddTHH:mm:ssZ, TimeZone: AEST. |
processorReference | string | Processor reference for the payment done. |
recalledOn | string <date-time> | Recalled date. Date Format: yyyy-MM-ddTHH:mm:ssZ, TimeZone: AEST (Conditional). |
recalledReason | string | Reason. (Conditional). |
refundedOn | string <date-time> | Refunded date. Date Format: yyyy-MM-ddTHH:mm:ssZ, TimeZone: AEST (Conditional). |
refundedReason | string | Reason. (Conditional). |
retryPaymentReference | string | Retry payment reference. (Conditional). |
retryPaymentResource | string | Link to the retry payment. |
retryPaymentStatus | string | Retry payment status. |
retryScheduledOn | string <date-time> | Retry payment scheduled date. Date Format: yyyy-MM-ddTHH:mm:ssZ, TimeZone: AEST (Conditional). |
settlementDate | string <date-time> | Settlement Date for the payment. This is a calculated date and may change until the payment been settled. Date Format: yyyy-MM-ddTHH:mm:ssZ, TimeZone: AEST. |
settlementReference | string | Reference for the settlement this entry was paid out in. Empty until the payment settles. |
subCardTypeString | string | Card sub-type where the scheme has one, as text. Empty when the scheme has none. |
subCardTypeValue | integer <int32> | Card sub-type as its numeric code. Pairs with |
ApiBatchPaySummary#
Batch Payment Summary
View this schema in the original docs
Batch payment summary including status, totals, and processing details.
| Field | Type | Description |
|---|---|---|
merchantCode | string | Merchant code. |
merchantName | string | Merchant name (Trading name). |
merchantUniqueBatchId | string | Unique batch id provided by the merchant. |
processingDate | string <date-time> | Batch processed date. |
status | string | One of:
|
statusRemarks | string | Status remarks. |
submittedDate | string <date-time> | Batch submitted date. |
totalAmount | number <double> | Total batch payment amount. |
totalEntries | integer <int32> | Total batch items in the batch. |
ApiRequestPayEntry#
Request Pay Entry
View this schema in the original docs
Individual entry within a request-to-pay batch including amount and recipient details.
| Field | Type | Description |
|---|---|---|
additionalReference | string | Additional reference for the payment entry. |
baseAmount | number <double> | Base payment amount before fees. |
companyName | string | Company name associated with this payment entry. |
customerFee | number <double> | Fee charged to the customer. |
customerName | string | Name of the customer for this payment entry. |
customerReference | string | Reference identifier for the customer in this payment entry. |
email | string | Email address for payment notifications. |
entryStatus | string | Current status of this payment entry. |
failureCode | string | Error code for the payment failure. |
failureReason | string | Reason the payment failed. |
isPaymentRecalled | boolean | Whether the payment has been recalled. |
isPaymentRefunded | boolean | Whether the payment has been refunded. |
isPaymentRetryScheduled | boolean | Whether a payment retry has been scheduled. |
lastDigits | string | Last digits of the payment card used. |
merchantCode | string | Merchant code. |
merchantFee | number <double> | Fee charged to the merchant. |
merchantName | string | Merchant trading name. |
merchantWithheldAmount | number <double> | Amount withheld from the merchant. |
mobile | string | Mobile number for payment notifications. |
oneOffPaymentReference | string | Reference for a one-off payment. |
paymentAmount | number <double> | Amount to be paid in this entry. |
paymentCard | string | Card details associated with the payment. |
paymentDate | string <date-time> | Scheduled date for the payment. |
paymentMethod | string | Method used for payment (e.g. card, direct debit). |
paymentReference | string | Unique reference for the payment transaction. |
paymentResource | string | Resource identifier for the payment. |
paymentStatus | string | Payment processing status. |
processedAmount | number <double> | Total amount processed including fees. |
processingDate | string <date-time> | Date the payment was processed. |
processorReference | string | Reference assigned by the payment processor. |
recalledOn | string <date-time> | Date and time the payment was recalled. |
recalledReason | string | Reason the payment was recalled. |
refundedOn | string <date-time> | Date and time the payment was refunded. |
refundedReason | string | Reason the payment was refunded. |
requestReference | string | Reference to the parent request-to-pay batch. |
retryPaymentReference | string | Reference for the retry payment transaction. |
retryPaymentResource | string | Resource identifier for the retry payment. |
retryPaymentStatus | string | Status of the retry payment. |
retryScheduledOn | string <date-time> | Date and time the retry is scheduled for. |
settlementDate | string <date-time> | Date the payment was settled. |
ApiRequestPaySummary#
Request Pay Summary
View this schema in the original docs
Request-to-pay summary including status, totals, and processing details.
| Field | Type | Description |
|---|---|---|
merchantCode | string | Merchant code. |
merchantName | string | Merchant trading name. |
merchantUniqueRequestBatchId | string | Merchant-assigned unique identifier for the request-to-pay batch. |
processingDate | string <date-time> | Date and time the request-to-pay was processed. |
status | string | Current processing status of the request-to-pay. |
statusRemarks | string | Additional remarks about the request-to-pay processing status. |
submittedDate | string <date-time> | Date and time the request-to-pay was submitted. |
totalAmount | number <double> | Total monetary amount of all entries in the request-to-pay. |
totalEntries | integer <int32> | Total number of entries in the request-to-pay. |
BankAccount#
Bank Account Details
View this schema in the original docs
Bank account details including BSB, account number, and account name.
| Field | Type | Description |
|---|---|---|
accountName required | string | Account Holder name. Max length: 32Pattern: [\u0020-\u007E]* |
accountNumber required | string | Bank Account number. Pattern: ^([0-9]{4,10}) |
bankBranch | string | Bank branch. Max length: 50 |
bankName | string | Bank Name. Max length: 50 |
bsb required | string | BSB Number. Format: 000000. Max length: 6 |
isPayTo | boolean | Bank account is PayTo if true. |
label | string | Label for the account. Max length: 50 |
payToStatus | integer <int32> | If PayTo account, this field will let you know the status of the Mandate. Allowed values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
BatchPaymentDataRecord#
Batch Payment Entry Record
View this schema in the original docs
Individual batch payment entry submitted by the client. Supports JSON or XML format.
| Field | Type | Description |
|---|---|---|
customerReference required | string | Customer reference in individual payment batch entry. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. Can be used when Proxy payment is performed. (Optional). Max length: 50 |
paymentAccountProxy | string | Pass an alternative Proxy if required (Optional). If no Proxy is passed, the nominated card / bank account is used. Max length: 40 |
paymentAmount required | number <double> | Payment amount in individual payment batch entry. Minimum: 0.01Maximum: 1.7976931348623157e+308 |
BatchPaymentRequest#
Batch Payment Request
View this schema in the original docs
Container for batch payment entries. Root element containing a collection of BatchPaymentEntry.
| Field | Type | Description |
|---|---|---|
batchPaymentEntries required | array of object (BatchPaymentDataRecord) | Collection of BatchPayment entry. |
merchantUniqueBatchId | string | Unique batch id provided by the merchant. Max length: 50 |
BatchPaymentResponse#
Batch Payment Response
View this schema in the original docs
Batch payment response returned after submission.
| Field | Type | Description |
|---|---|---|
batchPaymentId | integer <int32> | Id of BatchPayment. |
merchantCode | string | Merchant code. |
merchantName | string | Merchant trading name. |
merchantUniqueBatchId | string | Unique batch id provided by the merchant. |
warningMessages | string | WarningMessages after processing batch. |
BPayDetail#
BPAY Detail
View this schema in the original docs
BPAY details including biller code and biller reference.
| Field | Type | Description |
|---|---|---|
billerCode | string | BPAY Biller Code. |
billerReference | string | BPAY Biller Reference. |
CaptureCardRequest#
Preauthorization Capture Request
View this schema in the original docs
Capture request for a preauthorization including payment amount and optional references.
| Field | Type | Description |
|---|---|---|
additionalReference | string | Additional reference. This field is returned in reconciliation reports. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. Max length: 50 |
oneOffPaymentReference | string | One Off Payment reference. This field is returned in reconciliation reports. |
paymentAmount required | number <double> | Amount to capture. |
sendPaymentConfirmation | boolean | Flag to send the customer invoice. |
CaptureCardResponse#
Preauthorization Capture Result
View this schema in the original docs
Capture preauthorization response including status, amounts, and transaction details. Fields marked as conditional are only returned under certain conditions.
| Field | Type | Description |
|---|---|---|
abn | string | ABN for the transaction. |
accountOrCardNo | string | Payment Card No. |
additionalReference | string | Additional reference. (Conditional). |
baseAmount | number <double> | Base amount of the payment is done. |
cardCategory | string | Card category. |
chargeBackedOn | string <date-time> | Recalled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
chargeBackedReason | string | Reason. (Conditional). |
chargeBackedTransactionReference | string | ChargedBackedTransactionReference : If a charge transaction is charged back then this is transaction reference of charged back transaction.(Conditional). |
customerFee | number <double> | Fee charged on customer card. |
customerName | string | Customer who paid the payment. |
customerReference | string | Reference of the Customer who paid the payment. |
failureCode | string | Failure code if the payment failed. Please refer: http://tinyurl.com/y6lkmpsv for more details. (Conditional). |
failureReason | string | Failure reason if the payment failed. (Conditional). |
fundsToMerchant | number <double> | Funds to Merchant. |
isPaymentChargeBacked | boolean | Payment Charge Backed. |
isPaymentRecalled | boolean | Payment recalled. |
isPaymentRefunded | boolean | Payment refunded. |
isPaymentRetryScheduled | boolean | Whether a retry payment is pending. Based on Program/Merchant settings, a failed payment will be retried. |
isPaymentSettledToMerchant | boolean | Whether the payment has been settled to the merchant. |
merchantCode | string | Merchant code. |
merchantFee | number <double> | Fee charged on Merchant. |
merchantName | string | Merchant trading name. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. (Conditional). |
oneOffPaymentReference | string | One Off Payment Reference. |
originalTransactionReference | string | OriginalTransactionReference : For a Recall / Refund transaction, it is the transaction reference of original transaction. |
paymentAccount | string | Payment Account by which the payment is done. |
paymentAmount | number <double> | Total payment amount including the fees. |
paymentCard | string | Payment card used. |
paymentReference | string | Unique Payment Reference for the payment done. |
paymentSourceDisplay | string | Payment source of transaction. |
paymentStatus | string | Current Status of the payment. Expected Statuses
|
preauthExpiryAt | string <date-time> | Preauth expiry in minutes. |
processingDate | string <date-time> | Processing Date for the payment. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST. |
processorReference | string | Processor reference for the payment done. |
recalledOn | string <date-time> | Recalled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
recalledReason | string | Reason. (Conditional). |
recalledTransactionReference | string | RecalledTransactionReference : If a charge transaction is recalled then this is transaction reference of recall transaction.(Conditional). |
refundedOn | string <date-time> | Refunded date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
refundedReason | string | Reason. (Conditional). |
refundedTransactionReference | string | RefundedTransactionReference : If a charge transaction is refunded then this is transaction reference of refunded transaction.(Conditional). |
remainingPreauthAmount | number <double> | Remaining preauth amount after one or more captures. |
retryPaymentReference | string | Retry payment reference. (Conditional). |
retryScheduledOn | string <date-time> | Retry payment scheduled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
settlementDate | string <date-time> | Settlement Date for the payment. This is a calculated date and may change until the payment been settled. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST. |
transactionType | integer <int32> | Transaction type numeric code. Allowed values: 1 Charge, 2 InvoicePayment, 3 Refund, 4 Chargeback, 5 Recall, 6 FixedTermSettlement, 7 SponsorInvoicePayment, 8 MerchantSettlementAdjustmentPayment, 9 Preauthorization, 10 Credit |
transactionTypeDisplay | string | Transaction Type. Possible values:
|
CardProxyRequest#
Card Tokenization Request
View this schema in the original docs
Credit or debit card details for card proxy creation.
| Field | Type | Description |
|---|---|---|
cardHolderName | string | Card holder name. |
cardNumber required | string | Credit/Debit Card number. |
customerUniqueId | string | Customer unique identifier. |
expiry required | string | Card expiry in MM/yy format. |
paymentAmount | number <double> | Amount is optional. If provided, the applicable pricing will be returned in the result. |
threeDSecureData | object (ThreeDSecureData) | Conditional. Pass the values if 3DSecure is required. |
CardProxyResponse#
Card Tokenization Response
View this schema in the original docs
Card authorisation response returned after card proxy creation.
| Field | Type | Description |
|---|---|---|
cardNumber | string | Obfuscated card number. |
cardProxy | string | Processor token. Used to make payment next time. |
cardType | string | Card type (Visa, MasterCard etc.). |
expiry | string | Card expiry in MM/yy format. |
failureCode | string | Failure code in case the authorisation fails. |
failureReason | string | Failure reason in case the authorisation fails. |
pricing | object (Pricing) | Applicable pricing based on provided card and payment details. |
redirectUrl | string | 3DSecure redirect url to complete the 3DSecure challege if required by the scheme. |
status | string | Proxy status Expected Statuses
Read only |
CreditCard#
Credit Card
View this schema in the original docs
Credit card details including card number, type, expiry, and label.
| Field | Type | Description |
|---|---|---|
cardNumber | string | Card number. |
cardType | string | Card Type. |
expiry | string | Expiry. |
label | string | Label for the card. |
CreditCardProxy#
Credit Card Proxy
View this schema in the original docs
Credit card proxy reference with optional label.
| Field | Type | Description |
|---|---|---|
cardProxy required | string | Card proxy generated by the /cardproxies api. Max length: 40 |
label | string | Label for the card. Max length: 80 |
CreditRequestResponse#
Credit Request Response
View this schema in the original docs
Credit request details including status, credit reference, amount, and merchant information.
| Field | Type | Description |
|---|---|---|
cancelReason | string | Reason the credit request was cancelled. |
creditAmount | number <double> | Credit request amount. |
creditReference | integer <int32> | Reference for the credit transaction. Read only |
merchantCode | string | Merchant code. |
merchantName | string | Merchant trading name. |
rejectReason | string | Reason the credit request was rejected. |
requestReason | string | Reason for the credit request. |
requestStatus | integer <int32> | Status code of the credit request. |
requestStatusString | string | Status label for the credit request. |
requestUniqueId | string | Unique identifier for the credit request. |
status | integer <int32> | Status code of the credit request. Allowed values: 0 Forbidden, 1 CountLimitReached, 2 AmountLimitReached, 3 InvalidPaymentProxy, 4 DuplicateRequest, 5 NotEligibleForCredit, 6 SuccessRead only |
CreditsRequest#
Credit Disbursement Request
View this schema in the original docs
Credit request details including customer reference, amount, payment account proxy, and reason.
| Field | Type | Description |
|---|---|---|
creditAmount required | number <double> | Payment amount. |
customerName required | string | Customer name. Max length: 100 |
customerReference required | string | Customer reference. Max length: 20 |
paymentAccountProxy required | string | Payment Account Proxy. Max length: 50 |
reason required | string | Credit reason. Max length: 50 |
requestUniqueId required | string | Unique credit id provided by the merchant. Max length: 50 |
CustomerAccountRequest#
Customer Payment Account Update
View this schema in the original docs
Customer payment account update. Accepts PaymentAccountProxy, CreditCardProxy, or BankAccount. Priority order: PaymentAccountProxy, BankAccount, CreditCardProxy. Preferred option is PaymentAccountProxy.
| Field | Type | Description |
|---|---|---|
addtionalPaymentAccountProxies | array of object (AccountProxy) | Additional PaymentAccountProxies. Proxy is generated using the Payments Plugin for bank account and card or /cardProxies API for card. |
bankAccount | object (BankAccount) | Customer bank account details. Provide valid BSB and Account Number. |
creditCardProxy | object (CreditCardProxy) | Customer credit / debit card proxy. Proxy is generated using the /cardProxies API or Payments Plugin. |
paymentAccountProxy | object (AccountProxy) | This replaces the BankAccount and CreditCardProxy. Proxy is generated using the Payments Plugin for bank account and card or /cardProxies API for card. |
CustomerAccountResponse#
Customer Account Response
View this schema in the original docs
Customer payment account including bank account and credit card details.
| Field | Type | Description |
|---|---|---|
bankAccount | object (BankAccount) | Customer bank account details. |
creditCard | object (CreditCard) | Customer credit card details. |
CustomerAddress#
Customer Address
View this schema in the original docs
Customer address including address lines, suburb, state, postcode, and country.
| Field | Type | Description |
|---|---|---|
address1 required | string | Address line 1. |
address2 | string | Address line 2. |
country required | string | Country. Max length: 100 |
postcode required | string | Postcode. |
state required | string | State / province. Max length: 50 |
suburb required | string | Suburb / city. Max length: 50 |
CustomerPaymentOption#
Customer Payment Option
View this schema in the original docs
Customer payment option including payment type, amount, frequency, schedule, and notification method.
| Field | Type | Description |
|---|---|---|
bPayDetail | object (BPayDetail) | BPAY details. |
nextPaymentDate required | string <date-time> | Payment start date. |
notificationMethod required | integer <int32> | Notification method used to indicate the communication channel when payment successful or failed. Allowed values: 0 None, 1 Sms, 2 Email |
payIdDetail | object (PayIdDetail) | PayID details. |
paymentAmount required | number <double> | Payment amount. Set the default amount for auto payments or amount for one-off payment. |
paymentEndDate | string <date-time> | Payment end date. |
paymentFrequency required | integer <int32> | Payment frequency. Applicable to auto pay, email reminder and sms reminder. Returns monthly if frequency is not available. Allowed values: 32 Weekly, 33 Fortnightly, 38 Monthly, 34 Quarterly, 35 HalfYearly, 36 Yearly, 37 FourWeeks |
paymentOption required | integer <int32> | Payment option. Use the correct payment option which is supported by the merchant. Allowed values: 22 AutoPay, 23 EmailReminder, 24 SmsReminder, 25 FixedTerm, 26 BatchPay, 27 ScheduledPay, 28 OneOff, 148 PayID, 149 BPAY |
CustomerProfile#
Customer Profile
View this schema in the original docs
Customer profile including personal details, contact information, address, and account dates.
| Field | Type | Description |
|---|---|---|
abn | string | Australian Business Number. |
address | object (CustomerAddress) | Customer postal address. |
bPayReference | string | BPay reference number for the customer. |
companyName | string | Name of the customer company. |
customerCode | string | Unique code assigned to the customer. |
customerReference | string | Unique reference identifier for the customer. |
customerStatus | string | Current status of the customer account. |
dateClosed | string <date-time> | Date the customer account was closed. |
dateOfBirth | string <date-time> | Customer date of birth. |
email | string | Customer email address. |
enableBPayOption | boolean | Whether BPay payment option is enabled for this customer. |
fax | string | Customer fax number. |
firstName | string | Customer first name. |
lastName | string | Customer last name. |
merchantStaffMember | string | Staff member assigned to the customer. |
mobile | string | Customer mobile phone number. |
openDate | string <date-time> | Date the customer account was opened. |
phone | string | Customer phone number. |
title | string | Customer title (e.g. Mr, Mrs, Ms). |
CustomerProfileRequest#
Customer Profile Request
View this schema in the original docs
Customer profile details for creating or updating a customer profile.
| Field | Type | Description |
|---|---|---|
abn | string | Australian Business Number. |
address required | object (CustomerAddress) | Customer postal address. |
companyName | string | Name of the customer company. |
dateOfBirth required | string <date-time> | Customer date of birth. |
email required | string | Customer email address. |
enableBPayOption | boolean | Whether BPay payment option is enabled for this customer. |
fax | string | Customer fax number. |
firstName required | string | First name. Max length: 30 |
lastName required | string | Last name. Max length: 30 |
merchantStaffMember | string | Staff member assigned to the customer. |
mobile | string | Customer mobile phone number. |
phone | string | Customer phone number. |
title | string | Provide the salutation. Eg: Mr or Mrs. Max length: 10 |
CustomerResponse#
Customer Details Response
View this schema in the original docs
Customer details including profile, payment account, payment option, and merchant information.
| Field | Type | Description |
|---|---|---|
account | object (CustomerAccountResponse) | Customer Payment account. |
merchantCode | string | Merchant code. |
merchantName | string | Merchant trading name. |
paymentOption | object (CustomerPaymentOption) | Customer payment option. |
profile | object (CustomerProfile) | Customer profile. |
CustomerStatusRequest#
Customer Status Update Request
View this schema in the original docs
Customer status update request including close/open flag and reason.
| Field | Type | Description |
|---|---|---|
closeCustomer | boolean | True to close, false to open. |
reason | string | Reason if the customer is closed. |
ICustomerProfie#
Customer Profile Details
View this schema in the original docs
Customer profile details returned for a customer profile query.
| Field | Type | Description |
|---|---|---|
abn | string | Australian Business Number. |
address | object (CustomerAddress) | Customer postal address. |
companyName | string | Name of the customer company. |
dateOfBirth | string <date-time> | Customer date of birth. |
email | string | Customer email address. |
enableBPayOption | boolean | Whether BPay payment option is enabled for this customer. |
fax | string | Customer fax number. |
firstName | string | Customer first name. |
lastName | string | Customer last name. |
merchantStaffMember | string | Staff member assigned to the customer. |
mobile | string | Customer mobile phone number. |
phone | string | Customer phone number. |
title | string | Customer title (e.g. Mr, Mrs, Ms). |
InternalServerErrorResult#
Internal Server Error
View this schema in the original docs
Response returned when an internal server error occurs (HTTP 500).
| Field | Type | Description |
|---|---|---|
request | object | Gets the request message which led to this result. Read only |
ModelError#
Validation Error
View this schema in the original docs
Represents an error that occurs during model binding.
| Field | Type | Description |
|---|---|---|
errorMessage | string | Gets or sets the error message. Read only |
exception | object | Gets or sets the exception object. Read only |
ModelState#
Validation Model State
View this schema in the original docs
Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself.
| Field | Type | Description |
|---|---|---|
errors | array of object (ModelError) | Gets a ModelErrorCollection object that contains any errors that occurred during model binding. Read only |
value | object (ValueProviderResult) | Gets a ValueProviderResult object that encapsulates the value that was being bound during model binding. |
NewCustomer#
New Customer Request
View this schema in the original docs
Customer creation request including profile, payment option, and account details.
| Field | Type | Description |
|---|---|---|
abn | string | Australian Business Number. |
additionalPaymentAccountProxies | array of object (AccountProxy) | Additional PaymentAccountProxies. Proxy is generated using the Payments Plugin for Bank and Credit/Debit Card or /cardProxies api for Credit/Debit Card. |
additionalReferences | array of object (AdditionalReference) | Additional references if you have more than one references to manage. Eg: Parents paying childcare fee for more than one kid. |
address | object (CustomerAddress) | Customer address. |
bankAccount | object (BankAccount) | Customer bank account details. |
card | object (CreditCardProxy) | Customer credit / debit card proxy. (Token is generated using the /tokens api. |
customerCompanyName | string | Company name if this is company account. |
customerReference required | string | Customer / Parent Reference. Should be unique and provided by the merchant. If you are paying the merchant by BPAY, this should be your BPAY Reference. |
dateOfBirth required | string <date-time> | Date of birth. Customer must be atleast 16 years old. |
email required | string | Email address. |
enableBPayOption | boolean | Allows to enable BPAY option for the customer / parent. |
fax | string | Fax number. |
firstName required | string | First name. Max length: 30 |
isBPayCrnPassed | boolean | Send this as true when customer reference passed if CRN. Default is set to false if not passed. |
lastName required | string | Last name. Max length: 30 |
merchantStaffMember | string | Merchant Staff member assigned to this customer / parent. |
mobile required | string | Mobile number. |
notificationMethod required | integer <int32> | Notification method used to indicate the communication channel when payment successful or failed. Allowed values: 0 None, 1 Sms, 2 Email |
paymentAccountProxy | object (AccountProxy) | This replaces the BankAccount and Card properties. Proxy is generated using the Payments Plugin for Bank and Credit/Debit Card or /cardProxies api for Credit/Debit Card. |
paymentAmount required | number <double> | Payment amount. Set the default amount for auto payments or amount for one-off payment. |
paymentEndDate | string <date-time> | Payment end date. |
paymentFrequency required | integer <int32> | Payment frequency. Applicable to auto pay, email reminder and sms reminder. Allowed values: 32 Weekly, 33 Fortnightly, 38 Monthly, 34 Quarterly, 35 HalfYearly, 36 Yearly, 37 FourWeeks |
paymentOption required | integer <int32> | Payment option. Use the correct payment option which is supported by the merchant. Allowed values: 22 AutoPay, 23 EmailReminder, 24 SmsReminder, 25 FixedTerm, 26 BatchPay, 27 ScheduledPay, 28 OneOff, 148 PayID, 149 BPAY |
paymentStartDate required | string <date-time> | Payment start date. |
phone | string | Phone number. |
promotionCode | string | Promotion code if any. |
sendWelcomeEmail | boolean | Sends welcome email if set to true. Default is set to true if not passed. |
title | string | Provide the salutation. Eg: Mr or Mrs. Max length: 10 |
websiteUrl | string | Website URL if any. |
NewCustomerResponse#
Customer Creation Response
View this schema in the original docs
Customer creation response including assigned references and payment option details.
| Field | Type | Description |
|---|---|---|
abn | string | Australian Business Number. |
additionalPaymentAccountProxies | array of object (AccountProxy) | Additional PaymentAccountProxies. Proxy is generated using the Payments Plugin for Bank and Credit/Debit Card or /cardProxies api for Credit/Debit Card. |
additionalReferences | array of object (AdditionalReference) | Additional references if you have more than one references to manage. Eg: Parents paying childcare fee for more than one kid. |
address | object (CustomerAddress) | Customer address. |
bPayDetail | object (BPayDetail) | BPAY details. |
bankAccount | object (BankAccount) | Customer bank account details. |
billerCode | string | If BPAY payment method is enabled, biller code will be returned. |
billerReference | string | If BPAY payment method is enabled, biller reference can be used by the customer to make BPAY payment. |
card | object (CreditCardProxy) | Customer credit / debit card proxy. (Token is generated using the /tokens api. |
customerCompanyName | string | Company name if this is company account. |
customerLogin | string | Customer login. |
customerReference required | string | Customer / Parent Reference. Should be unique and provided by the merchant. If you are paying the merchant by BPAY, this should be your BPAY Reference. |
dateOfBirth required | string <date-time> | Date of birth. Customer must be atleast 16 years old. |
email required | string | Email address. |
enableBPayOption | boolean | Allows to enable BPAY option for the customer / parent. |
fax | string | Fax number. |
firstName required | string | First name. Max length: 30 |
isBPayCrnPassed | boolean | Send this as true when customer reference passed if CRN. Default is set to false if not passed. |
lastName required | string | Last name. Max length: 30 |
merchantCode | string | Merchant code. |
merchantName | string | Merchant trading name. |
merchantStaffMember | string | Merchant Staff member assigned to this customer / parent. |
mobile required | string | Mobile number. |
notificationMethod required | integer <int32> | Notification method used to indicate the communication channel when payment successful or failed. Allowed values: 0 None, 1 Sms, 2 Email |
passwordGenerationUrl | string | Password generation for customer login. |
payIdDetail | object (PayIdDetail) | PayID details. |
paymentAccountProxy | object (AccountProxy) | This replaces the BankAccount and Card properties. Proxy is generated using the Payments Plugin for Bank and Credit/Debit Card or /cardProxies api for Credit/Debit Card. |
paymentAmount required | number <double> | Payment amount. Set the default amount for auto payments or amount for one-off payment. |
paymentEndDate | string <date-time> | Payment end date. |
paymentFrequency required | integer <int32> | Payment frequency. Applicable to auto pay, email reminder and sms reminder. Allowed values: 32 Weekly, 33 Fortnightly, 38 Monthly, 34 Quarterly, 35 HalfYearly, 36 Yearly, 37 FourWeeks |
paymentOption required | integer <int32> | Payment option. Use the correct payment option which is supported by the merchant. Allowed values: 22 AutoPay, 23 EmailReminder, 24 SmsReminder, 25 FixedTerm, 26 BatchPay, 27 ScheduledPay, 28 OneOff, 148 PayID, 149 BPAY |
paymentStartDate required | string <date-time> | Payment start date. |
phone | string | Phone number. |
promotionCode | string | Promotion code if any. |
sendWelcomeEmail | boolean | Sends welcome email if set to true. Default is set to true if not passed. |
title | string | Provide the salutation. Eg: Mr or Mrs. Max length: 10 |
websiteUrl | string | Website URL if any. |
PayIdDetail#
PayID Detail
View this schema in the original docs
PayID details including PayID value, name, and reference.
| Field | Type | Description |
|---|---|---|
payId | string | PayID. |
payIdName | string | PayID Name. |
reference | string | Reference. |
PaymentAccountProxyResponse#
Payment Account Reference Response
View this schema in the original docs
Payment account proxy response representing the different response structures for card, bank account, PayID, and PayTo details.
| Field | Type | Description |
|---|---|---|
accountName | string | Account name (Bank/PayTo accounts). |
accountNumber | string | Account number (Bank/PayTo accounts). |
accountType | string | Type of payment account. |
bsb | string | BSB code (Bank/PayTo accounts). |
cardExpiry | string | Card expiry date (Card accounts only). |
cardHolderName | string | Card holder name (Card accounts only). |
cardNumber | string | Masked card number (Card accounts only). |
cardType | string | Card type (Card accounts only). |
payId | string | PayId identifier (PayId accounts only). |
payIdName | string | PayId display name (PayId accounts only). |
payToStatus | string | PayTo status (PayTo accounts only). |
processor3DSPayload | string | 3DS payload (Card accounts only). |
processorName | string | Processor name (Card accounts only). |
processorToken | string | Processor token (Card accounts only). |
statusDescription | string | Status description (PayTo accounts only). |
uId | string | Unique identifier (PayTo accounts only). |
PaymentAdditionalData#
Payment Additional Data
View this schema in the original docs
Acquirer and issuer references for a card transaction: the authorisation code, the retrieval reference number and the system trace audit number.
| Field | Type | Description |
|---|---|---|
authCode | string | Authorisation code returned by the card issuer. |
rrn | string | Retrieval reference number assigned by the acquirer, used when tracing the transaction with them. |
stan | string | System trace audit number identifying the transaction on the acquirer's network. |
PaymentCard#
Payment Card
View this schema in the original docs
Card details for direct card payment including cardholder name, card number, expiry, and CVV.
| Field | Type | Description |
|---|---|---|
cardHolder required | string | Name of the cardholder. |
cardNumber required | string | Card number. |
cvv required | string | Card verification value. |
expiryMonth required | string | Card expiry month. |
expiryYear required | string | Card expiry year. Min length: 4Max length: 4 |
PaymentRequest#
Payment Request
View this schema in the original docs
Payment request including customer reference or card proxy, amount, and optional 3D Secure details.
| Field | Type | Description |
|---|---|---|
abn | string | Customer Australian Business Number. |
additionalReference | string | Additional reference. This field is returned in reconciliation reports. |
card | object (PaymentCard) | PAN detail. |
cardProxy | string | Card Proxy (Conditional). Use only if you want to pay using card proxy. |
companyName | string | Customer company name. |
contactNumber | string | Customer contact number. |
customerEmail | string | The customer email to which an invoice is sent to. |
customerName | string | Customer name. |
customerReference required | string | Customer reference. Required only when payment account proxy or card proxy is not provided. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. Max length: 50 |
oneOffPaymentReference | string | One Off Payment reference. This field is returned in reconciliation reports. |
overrideFeePayer required | integer <int32> | Override Fee Payer. This field is to determine who is paying transaction fee. 0 Use Set Profile - default 1 Merchant Pays Fee (if allowed) 2 Customer Pays Fee (if allowed). Allowed values: 0 Default, 1 Merchant, 2 Customer |
paymentAccountProxy | object (AccountProxy) | Card or bank account proxy. Proxy is generated using the Payments Plugin for bank account and card or /cardProxies API for card. |
paymentAmount required | number <double> | Payment amount. |
sendPaymentConfirmation | boolean | Flag to send the customer invoice. |
threeDSecureData | object (ThreeDSecureData) | Optional. 3DSecure details. |
PaymentResponse#
Payment Result
View this schema in the original docs
Payment response including status, amounts, fees, and settlement details. Fields marked as conditional are only returned under certain conditions.
| Field | Type | Description |
|---|---|---|
abn | string | ABN for the transaction. |
accountOrCardNo | string | Payment Card No. |
additionalData | object (PaymentAdditionalData) | Acquirer and issuer references for the transaction, returned for card payments. |
additionalReference | string | Additional reference. (Conditional). |
baseAmount | number <double> | Base amount of the payment is done. |
cardCategory | string | Card category. |
cardTypeString | string | Card scheme the payment was processed on, as text. For example: MasterCard. |
cardTypeValue | integer <int32> | Card scheme the payment was processed on, as its numeric code. Pairs with |
chargeBackedOn | string <date-time> | Recalled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
chargeBackedReason | string | Reason. (Conditional). |
chargeBackedTransactionReference | string | ChargedBackedTransactionReference : If a charge transaction is charged back then this is transaction reference of charged back transaction.(Conditional). |
chargebacks | array of object (SubPayment) | All chargebacks processed on this payment. |
customerCode | string | Unique customer code if the customer exists in the system. |
customerFee | number <double> | Fee charged on customer card. |
customerName | string | Customer who paid the payment. |
customerReference | string | Reference of the Customer who paid the payment. |
failureCode | string | Failure code if the payment failed. Please refer: http://tinyurl.com/y6lkmpsv for more details. (Conditional). |
failureReason | string | Failure reason if the payment failed. (Conditional). |
fundsToMerchant | number <double> | Funds to Merchant. |
isPaymentChargeBacked | boolean | Payment Charge Backed. |
isPaymentRecalled | boolean | Payment recalled. |
isPaymentRefunded | boolean | Payment refunded. |
isPaymentRetryScheduled | boolean | Whether a retry payment is pending. Based on Program/Merchant settings, a failed payment will be retried. |
isPaymentSettledToMerchant | boolean | Whether the payment has been settled to the merchant. |
merchantCode | string | Merchant code. |
merchantFee | number <double> | Fee charged on Merchant. |
merchantName | string | Merchant trading name. |
merchantSettlementReference | string | Reference for the merchant settlement this payment was paid out in. Empty until the payment settles. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. (Conditional). |
oneOffPaymentReference | string | One Off Payment Reference. |
originalTransactionReference | string | OriginalTransactionReference : For a Recall / Refund transaction, it is the transaction reference of original transaction. |
paymentAccount | string | Payment Account by which the payment is done. |
paymentAmount | number <double> | Total payment amount including the fees. |
paymentCard | string | Payment card used. |
paymentReference | string | Unique Payment Reference for the payment done. |
paymentSourceDisplay | string | Payment source of transaction. |
paymentStatus | string | Current Status of the payment. Expected Statuses
|
preauthExpiryAt | string <date-time> | Preauth expiry in minutes. |
processingDate | string <date-time> | Processing Date for the payment. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST. |
processorReference | string | Processor reference for the payment done. |
recalledOn | string <date-time> | Recalled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
recalledReason | string | Reason. (Conditional). |
recalledTransactionReference | string | RecalledTransactionReference : If a charge transaction is recalled then this is transaction reference of recall transaction.(Conditional). |
recalls | array of object (SubPayment) | All recalls processed on this payment. |
redirectUrl | string | 3DSecure redirect url to complete the 3DSecure challege if required by the scheme. |
refundedOn | string <date-time> | Refunded date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
refundedReason | string | Reason. (Conditional). |
refundedTransactionReference | string | RefundedTransactionReference : If a charge transaction is refunded then this is transaction reference of refunded transaction.(Conditional). |
refunds | array of object (SubPayment) | All refunds processed on this payment. |
remainingPreauthAmount | number <double> | Remaining preauth amount. |
retryPaymentReference | string | Retry payment reference. (Conditional). |
retryScheduledOn | string <date-time> | Retry payment scheduled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
settlementDate | string <date-time> | Settlement Date for the payment. This is a calculated date and may change until the payment been settled. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST. |
settlementFrequencyString | string | How often the merchant is settled, as text. For example: Monthly. |
settlementFrequencyValue | integer <int32> | How often the merchant is settled, as its numeric code. Pairs with |
settlementPostPartialRefund | object (SettlementPayment) | Balance Payment if any is available. |
settlementReference | string | Reference for the settlement this payment was paid out in. Empty until the payment settles. |
settlementType | string | Whether the merchant is settled gross or net of fees. For example: Gross. |
sku1 | string | Stock keeping unit field 1. |
sku2 | string | Stock keeping unit field 2. |
subCardType | string | Sub card type. |
subCardTypeString | string | Card sub-type where the scheme has one, as text. Empty when the scheme has none. |
subCardTypeValue | integer <int32> | Card sub-type as its numeric code. Pairs with |
transactionType | integer <int32> | Transaction type numeric code. Allowed values: 1 Charge, 2 InvoicePayment, 3 Refund, 4 Chargeback, 5 Recall, 6 FixedTermSettlement, 7 SponsorInvoicePayment, 8 MerchantSettlementAdjustmentPayment, 9 Preauthorization, 10 Credit |
transactionTypeDisplay | string | Transaction Type. Possible values:
|
PingResponse#
Ping Response
View this schema in the original docs
Ping response including server date time and version information.
| Field | Type | Description |
|---|---|---|
buildVersion | string | Build version. |
serverDateTime | string <date-time> | Server Date Time. |
timeZoneInfo | string | DateTime Time Zone. |
version | string | API version. |
PluginCustomization#
Hosted Payment Page Customization
View this schema in the original docs
Visual customization options for the payment plugin.
| Field | Type | Description |
|---|---|---|
customerNameLabel | string | Custom label to override default customer name display text. |
customerReferenceLabel | string | Custom label to override default customer reference display text. |
hideHeader | boolean | Hide the plugin header. Defaults to false if not provided. |
hideMerchantLogo | boolean | This will hide the merchant logo if any. Defaults to 'false' if not provided. |
paymentAmountLabel | string | Custom label to override default payment amount display text. |
title | string | Plugin Title. Defaults to 'Process Payment' if not provided. |
PluginPaymentMethods#
Hosted Payment Methods
View this schema in the original docs
Payment methods enabled for the payment plugin session.
| Field | Type | Description |
|---|---|---|
aliPayPlus | boolean | Conditional if mode is set to 0. Show AliPay+ option only if the option is enable for the merchant.Default is false. |
applePay | boolean | Conditional if mode is set to 0. Show Apple Pay option only if the option is enable for the merchant.Default is false. |
bankAccount | boolean | Conditional. Required if mode is set to 0 or 2. Show bank account option only if the option is enable for the merchant.Default is false. |
card | boolean | Conditional. Required if mode is set to 0 or 2. Show card option only if the option is enable for the merchant.Default is true. |
cardTokenise | boolean | Conditional. Required if mode is set to 0 or 2. Show card tokenise option only if the option is enable for the merchant.Default is true. |
googlePay | boolean | Conditional if mode is set to 0. Show Google Pay option only if the option is enable for the merchant.Default is false. |
latitudePay | boolean | Conditional if mode is set to 0. Show Latitude Pay option only if the option is enable for the merchant.Default is false. |
payId | boolean | Conditional. Required if mode is set to 0 or 2. Show PayID option only if the option is enable for the merchant.Default is false. |
payTo | boolean | Conditional. Required if mode is set to 0 or 2. Show PayTo option only if the option is enable for the merchant.Default is false. |
slicePay | boolean | Conditional if mode is set to 0. Show Slice Pay option only if the option is enable for the merchant.Default is false. |
unionPay | boolean | Conditional if mode is set to 0. Show UnionPay option only if the option is enable for the merchant.Default is false. |
weChat | boolean | Conditional if mode is set to 0. Show WeChat Pay option only if the option is enable for the merchant.Default is false. |
PreauthRequest#
Preauthorization Request
View this schema in the original docs
Preauthorization request including customer reference, amount, and optional card or proxy details.
| Field | Type | Description |
|---|---|---|
abn | string | Customer Australian Business Number. |
additionalReference | string | Additional reference. This field is returned in reconciliation reports. |
card | object (PaymentCard) | PAN detail. |
cardProxy | string | Card Proxy (Conditional). Use only if you want to pay using card proxy. |
companyName | string | Customer company name. |
contactNumber | string | Customer contact number. |
customerEmail | string | The customer email to which an invoice is sent to. |
customerName | string | Customer name. |
customerReference required | string | Customer reference. Required only when payment account proxy or card proxy is not provided. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. Max length: 50 |
oneOffPaymentReference | string | One Off Payment reference. This field is returned in reconciliation reports. |
overrideFeePayer | integer <int32> | Override Fee Payer. This field is to determine who is paying transaction fee. 0 Use Set Profile - default 1 Merchant Pays Fee (if allowed) 2 Customer Pays Fee (if allowed). Allowed values: 0 Default, 1 Merchant, 2 Customer |
paymentAccountProxy | object (AccountProxy) | Card or bank account proxy. Proxy is generated using the Payments Plugin for bank account and card or /cardProxies API for card. |
preauthAmount required | number <double> | Preauth amount. |
threeDSecureData | object (ThreeDSecureData) | Optional. 3DSecure details. |
PreauthResponse#
Preauthorization Result
View this schema in the original docs
Preauthorization response including status, amounts, fees, and settlement details. Fields marked as conditional are only returned under certain conditions.
| Field | Type | Description |
|---|---|---|
abn | string | ABN for the transaction. |
accountOrCardNo | string | Payment Card No. |
additionalReference | string | Additional reference. (Conditional). |
baseAmount | number <double> | Base amount of the payment is done. |
cardCategory | string | Card category. |
chargeBackedOn | string <date-time> | Recalled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
chargeBackedReason | string | Reason. (Conditional). |
chargeBackedTransactionReference | string | ChargedBackedTransactionReference : If a charge transaction is charged back then this is transaction reference of charged back transaction.(Conditional). |
customerFee | number <double> | Fee charged on customer card. |
customerName | string | Customer who paid the payment. |
customerReference | string | Reference of the Customer who paid the payment. |
failureCode | string | Failure code if the payment failed. Please refer: http://tinyurl.com/y6lkmpsv for more details. (Conditional). |
failureReason | string | Failure reason if the payment failed. (Conditional). |
fundsToMerchant | number <double> | Funds to Merchant. |
isPaymentChargeBacked | boolean | Payment Charge Backed. |
isPaymentRecalled | boolean | Payment recalled. |
isPaymentRefunded | boolean | Payment refunded. |
isPaymentRetryScheduled | boolean | Whether a retry payment is pending. Based on Program/Merchant settings, a failed payment will be retried. |
isPaymentSettledToMerchant | boolean | Whether the payment has been settled to the merchant. |
merchantCode | string | Merchant code. |
merchantFee | number <double> | Fee charged on Merchant. |
merchantName | string | Merchant trading name. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. (Conditional). |
oneOffPaymentReference | string | One Off Payment Reference. |
originalTransactionReference | string | OriginalTransactionReference : For a Recall / Refund transaction, it is the transaction reference of original transaction. |
paymentAccount | string | Payment Account by which the payment is done. |
paymentCard | string | Payment card used. |
paymentSourceDisplay | string | Payment source of transaction. |
preauthAmount | number <double> | Total payment amount including the fees. |
preauthExpiryAt | string <date-time> | Preauth Expires at. |
preauthReference | string | Unique Payment Reference for the payment done. |
preauthStatus | string | Current Status of the payment. Expected Statuses
|
processingDate | string <date-time> | Processing Date for the payment. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST. |
processorReference | string | Processor reference for the payment done. |
recalledOn | string <date-time> | Recalled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
recalledReason | string | Reason. (Conditional). |
recalledTransactionReference | string | RecalledTransactionReference : If a charge transaction is recalled then this is transaction reference of recall transaction.(Conditional). |
redirectUrl | string | 3DSecure redirect url to complete the 3DSecure challege if required by the scheme. |
refundedOn | string <date-time> | Refunded date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
refundedReason | string | Reason. (Conditional). |
refundedTransactionReference | string | RefundedTransactionReference : If a charge transaction is refunded then this is transaction reference of refunded transaction.(Conditional). |
remainingPreauthAmount | number <double> | Remaining preauth amount after one or more captures. |
retryPaymentReference | string | Retry payment reference. (Conditional). |
retryScheduledOn | string <date-time> | Retry payment scheduled date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
settlementDate | string <date-time> | Settlement Date for the payment. This is a calculated date and may change until the payment been settled. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST. |
transactionType | integer <int32> | Transaction type numeric code. Allowed values: 1 Charge, 2 InvoicePayment, 3 Refund, 4 Chargeback, 5 Recall, 6 FixedTermSettlement, 7 SponsorInvoicePayment, 8 MerchantSettlementAdjustmentPayment, 9 Preauthorization, 10 Credit |
transactionTypeDisplay | string | Transaction Type. Possible values:
|
PreconditionFailedResponse#
Precondition Failed Response
View this schema in the original docs
Error response returned when a precondition check fails.
| Field | Type | Description |
|---|---|---|
errorCode | string | Error code. Read only |
errorMessage | string | Error message. Read only |
Pricing#
View this schema in the original docs
Applicable fee for the card used.
| Field | Type | Description |
|---|---|---|
customerFee | number <double> | Fee paid by the customer. |
merchantFee | number <double> | Fee paid by the merchant. |
paymentAmount | number <double> | Payment amount i.e. base amount excluding any fee. |
processingAmount | number <double> | Total amount charged to the card, including any fee. |
PricingResponse#
Pricing Response
View this schema in the original docs
Pricing response including applicable fees.
| Field | Type | Description |
|---|---|---|
pricing | object (Pricing) | Applicable pricing based on provided card and payment details. |
RefundRequest#
Refund Request
View this schema in the original docs
Refund request including refund value and optional merchant unique ID.
| Field | Type | Description |
|---|---|---|
refundAmount | number <double> | Refund Amount (Conditional). Amount is required when Refund Value is 'Partial' (2). |
refundRequestReason required | string | Reason for the refund request. Max length: 50 |
refundRequestUniqueId | string | Refund Request Unique Id. Max length: 50 |
refundValue required | integer <int32> | Refund value - Defaults to 'BaseAmount' (1) if not passed. Allowed values: 1 Base, 2 Partial, 3 Full |
RefundResponse#
Refund Result
View this schema in the original docs
Refund request response including status and refund reference.
| Field | Type | Description |
|---|---|---|
additionalReference | string | Additional Reference. |
cancelReason | string | Reason for the refund request cancellation. This field will returned only if the status is 'Canceled'. |
merchantCode | string | Merchant code. |
merchantName | string | Merchant trading name. |
paymentReference | string | Payment Reference. |
refundAmount | number <double> | Refund Amount. |
refundRequestUniqueId | string | Refund Request Unique Id. |
refundValue | integer <int32> | Refund value. Allowed values: 1 Base, 2 Partial, 3 Full |
refundValueString | string | Refund value (Human readable). Read only |
rejectReason | string | Reason for the refund request rejected. This field will returned only if the status is 'Rejected'. |
requestReason | string | Reason for the refund request. |
requestStatus | integer <int32> | Refund request status. |
requestStatusString | string | Refund request status (Human readable). |
RequestPayRequest#
Request Pay Batch Request
View this schema in the original docs
Container for request-to-pay entries. Root element containing a collection of RequestPayEntry.
| Field | Type | Description |
|---|---|---|
merchantUniqueRequestBatchId | string | Unique batch id provided by the merchant. Max length: 50 |
requestPaymentEntries required | array of object (RequestPayRequestRecord) | Collection of RequestPayment entry. |
RequestPayRequestRecord#
Request Pay Entry Request
View this schema in the original docs
Individual request-to-pay entry submitted by the client.
| Field | Type | Description |
|---|---|---|
customerReference required | string | Customer reference in individual payment request entry. |
email | string | Customer email in individual payment request entry. Use comma or semicolon to provide more than one email address for a customer. |
firstName required | string | First name of the customer. |
lastName | string | Last name of the customer. |
merchantUniquePaymentId | string | Unique payment id provided by the merchant. Can be used when Proxy payment is performed. (Optional). Max length: 50 |
mobile | string | Customer mobile in individual payment request entry. Pattern: ^(04[0-9]{8}|02[0-9]{7,8})$ |
paymentAmount required | number <double> | Payment amount in individual payment request entry. Minimum: 0.01Maximum: 1.7976931348623157e+308 |
RequestPayResponse#
Request Pay Response
View this schema in the original docs
Request-to-pay response returned after submission.
| Field | Type | Description |
|---|---|---|
merchantCode | string | Merchant code. |
merchantName | string | Merchant trading name. |
merchantUniqueRequestBatchId | string | Unique request pay batch id provided by the merchant. |
requestPayId | integer <int32> | Id of RequestPay for call to Uploading. |
warningMessages | string | WarningMessages after processing batch. |
SessionRequest#
Hosted Payment Session Request
View this schema in the original docs
Session creation request including payment mode, version, and customization options.
| Field | Type | Description |
|---|---|---|
additionalReference | string | Additional reference for reconciliation reports. |
allowSaveCardInformation | boolean | Optional. This will allow to save the card information. Defaults to 'false' if not provided. This option will only work if 'Enable Plugin Pay & Save Card' option is enabled at program or merchant level. |
allowedPaymentMethods | object (PluginPaymentMethods) | Allowed Payment methods. |
apiKey | string | Set by the plugin. Leave it out of your request. |
businessNumber | string | Optional. Business Number (For example: ABN). Used for reward programs if the Program is enabled to provide reward points. |
callbackUrl | string | Optional. The URL will be called with HTTP POST method to submit the result. Refer to Payment Plugin documentation for payment response payload. |
companyName | string | Optional. Customer company name. |
contactNumber | string | Optional. Contact number. |
customerEmail | string | Required. Email address to which invoice will be emailed if the merchant is configured. It is mandatory from V4. |
customerName | string | Conditional. Required if mode is set to 0 or 2. |
customerReference | string | Conditional. Required if mode is set to 0 or 2. |
customization | object (PluginCustomization) | Optional. Fields to customize the plugin fields. |
departureDate | string <date-time> | Conditional. DepartureDate is required for Slice Pay. Provide date in UTC ISO 8601 format as departureDate. format: yyyy-MM-dd. |
displayMode required | integer <int32> | Optional. Must be one of the following two values 0 - Default(Modal) 1 - Redirect Url. Defaults to 0 if not provided. *Google Pay and Apple Pay works if Modal or Redirect Url with iframe is used. Allowed values: 0 Default, 1 RedirectUrl |
endpointUrl required | string | Endpoint url of the plugin. Just provide the base url. For example: https://pay.travelpay.com.au. |
fingerprint | string | Set by the plugin. Leave it out of your request. |
hideTermsAndConditions | boolean | Optional. This will hide the Terms and Conditions. Defaults to 'false' if not provided. |
isJsPlugin required | boolean | Is JS Plugin. Default is true. Set to false if you want to use without iframe. |
merchantCode required | string | Merchant code. Make sure the merchant code is related to the API credentials. |
merchantUniquePaymentId required | string | Required. Payment id provided by the merchant. Must be unique and can not be reused if a transaction is processed using this id. This field also work as IdempotencyKey for request for successful requests. |
mode required | integer <int32> | Optional. Must be one of the following three values 0 - Make Payment 1 - Tokenise 2 - Custom Payment 3 - Preauthorization. Defaults to 0 if not provided. Allowed values: 0 DefaultPayment, 1 Tokenise, 2 CustomPayment, 3 Preauth |
overrideFeePayer | integer <int32> | Optional. Must be one of the following three values 0 - Default(based on pricing profile) 1 - Merchant(Merchant will pay the fee regardless of pricing profile setting) 2 - Customer(Customer will pay the fee regardless of pricing profile setting) Defaults to 0 if not provided. Allowed values: 0 Default, 1 Merchant, 2 Customer |
paymentAccountProxy | string | Conditional. Use this parameter to make a payment using a payment account proxy which is generated using mode '1'. |
paymentAmount | number <double> | Conditional. Required if mode is set to 0 or 2. Returns applicable fee if provided with mode 1. |
redirectOnError | boolean | All errors/exceptions will be return back the caller using the redirect url. |
redirectUrl required | string | Required. The page will redirect to this URL with the result in the query string. Refer the return parameters section below. |
sendConfirmationEmailToCustomer | boolean | Optional. This will send confirmation email to customer. Defaults to 'false' if not provided. |
sendConfirmationEmailToMerchant | boolean | Optional. This will send confirmation email to merchant. Defaults to 'false' if not provided. |
showFailedPaymentFeeOnTokenising | boolean | Optional if mode is set to 1. Show the applicable failed payment fees for the token at the end of the process.Default is false. |
showFeeOnTokenising | boolean | Required if mode is set to 1. Show the applicable fees for the token at the end of the process.Default is false. |
sku1 | string | Optional. Stock Keeping Unit - Optional text fields, allowing up to 50 alphanumeric characters. If the value exceeds 50 characters, only the first 50 characters will be retained and the rest discarded. |
sku2 | string | Optional Stock Keeping Unit - Optional text fields, allowing up to 50 alphanumeric characters. If the value exceeds 50 characters, only the first 50 characters will be retained and the rest discarded. |
timestamp required | string <date-time> | Required. Timestamp is required from v4. Provide current datetime in UTC ISO 8601 format as timestamp. format: yyyy-MM-ddTHH:mm:ss. |
userMode required | integer <int32> | Optional. Must be one of the following two values 0 - Customer Facing - default (cardholder must enter CCV or 3DS) 1 - Merchant Facing(for merchant use only - no CCV or 3DS) - if supported by merchant options. Allowed values: 0 Customer, 1 Merchant |
version required | integer <int32> | Required. Plugin version. Always use the latest. Allowed values: 1 v1, 2 v2, 3 v3, 4 v4, 5 v5 |
SessionResponse#
Hosted Payment Session Response
View this schema in the original docs
Session response containing the secure token, expiry, and payment plugin endpoint URL.
| Field | Type | Description |
|---|---|---|
endpointUrl | string | Payment plugin endpoint url. |
expiresAt | string <date-time> | Expiry of the secure token. |
secureToken | string | Token used to initialize the payment plugin. |
SettlementPayment#
Settlement Payment
View this schema in the original docs
Settlement payment details including processing date, status, settlement date, and funds to merchant.
| Field | Type | Description |
|---|---|---|
fundsToMerchant | number <double> | Amount to be settled to the merchant. |
merchantSettlementDate | string <date-time> | Date payment will be settled to the merchant. |
processedOn | string <date-time> | Processing date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST. |
status | string | Current Status of the balance payment. Expected Statuses
|
transactionReference | string | TransactionReference. |
SubPayment#
Sub Payment
View this schema in the original docs
Refund or recall transaction details including date, fees, amount, reason, and status.
| Field | Type | Description |
|---|---|---|
customerFee | number <double> | Fee charged on Customer. |
merchantFee | number <double> | Fee charged on Merchant. |
paymentAmount | number <double> | Total payment amount including the fees. |
processedOn | string <date-time> | Refund/Recall date. Date Format: yyyy-MM-ddTHH:mm:ss, TimeZone: AEST (Conditional). |
reason | string | Reason. (Conditional). |
status | string | Current Status of the refund/recall. Expected Statuses
|
transactionReference | string | TransactionReference : If a charge transaction is refunded/recalled then this is transaction reference of that transaction.(Conditional). |
ThreeDSecureBrowserData#
3D Secure Browser Data
Cardholder browser data collected for 3D Secure authentication.
| Field | Type | Description |
|---|---|---|
acceptHeader | string | Exact content of the HTTP accept headers as sent to the 3DS Requestor from the Cardholder's browser. |
colorDepth | integer <int32> | Value representing the bit depth of the colour palette for displaying images, in bits per pixel. Obtained from Cardholder browser using the screen.colorDepth property. Possible values: 1, 4, 8, 15, 16, 24, 32, 48. |
ipAddress | string | IP address of the browser as returned by the HTTP headers to the 3DS Requestor. |
language | string | Value representing the browser language as defined in IETF BCP47. The value is limited to 1-8 characters. Value is returned from navigator.language property. |
screenHeight | integer <int32> | Total height of the Cardholder's screen in pixels. Value is returned from the screen.height property. |
screenWidth | integer <int32> | Total width of the Cardholder's screen in pixels. Value is returned from the screen.width property. |
timezone | string | Time difference between UTC time and the Cardholder browser local time, in minutes. The field is limited to 1-5 characters where the value is returned from the getTimezoneOffset() method. |
userAgent | string | Exact content of the HTTP user-agent header. The field is limited to maximum 2048 characters. Obtained from Cardholder browser using the navigator.userAgent property. |
ThreeDSecureData#
3D Secure Data
3D Secure authentication configuration including browser data, callback URL, and redirect URL.
| Field | Type | Description |
|---|---|---|
browserData | object (ThreeDSecureBrowserData) | Cardholder's browser data. Mandatory if UseThreeDSecure is true. |
callbackUrl | string | Endpoint to receive status notifications once 3DSecure is completed. Use [uniqueId] (case sensitive) in URL to differentiate different payments and 3DS statuses For example: CallbackUrl https://www.yourdomain.com.au/3dsecure/[uniqueId] will be translated to https://www.yourdomain.com.au/callbacks/123456 assuming uniqueId is 123456. |
redirectUrl | string | Redirect URL used to redirect once the 3DSecure process is completed. Use [uniqueId], [status] (case sensitive) in URL to differentiate different payments and 3DS statuses For example: RedirectUrl https://www.yourdomain.com.au/3dsecure/[uniqueId]?status=[status] will be translated to https://www.yourdomain.com.au/3dsecure/123456?status=Success assuming uniqueId is 123456 Possible 3DSecure statuses: Success, Failed, Cancelled. |
useThreeDSecure | boolean | Will trigger 3DSecure process if enabled or valid for the card. |
TokenResponse#
Card Proxy Token Response
View this schema in the original docs
Card proxy token response including card proxy value, obfuscated card number, expiry, card type, and status.
| Field | Type | Description |
|---|---|---|
cardNumber | string | Obfuscated card number. |
cardProxy | string | Card proxy that can be used to process payment. |
cardType | string | Card type (Visa, MasterCard etc.). |
expiry | string | Card expiry in MM/yy format. |
status | string | Proxy status. Read only |
ValueProviderResult#
Validation Result
View this schema in the original docs
Represents the result of binding a value (such as from a form post or query string) to an action-method argument property, or to the argument itself.
| Field | Type | Description |
|---|---|---|
attemptedValue | string | Gets or sets the raw value that is converted to a string for display. Read only |
culture | string | Gets or sets the culture. Read only |
rawValue | object | Gets or set the raw value that is supplied by the value provider. Read only |
VoidCardResponse#
Preauthorization Void Result
View this schema in the original docs
Void preauthorization response including status and transaction details. Fields marked as conditional are only returned under certain conditions.
| Field | Type | Description |
|---|---|---|
failureCode | string | Failure code if the payment failed. Please refer: http://tinyurl.com/y6lkmpsv for more details. (Conditional). |
failureReason | string | Failure reason if the payment failed. (Conditional). |
preauthReference | string | Unique Payment Reference for the payment done. |
status | string | Current Status of the void. Expected Statuses
|