Customer Details Response
Customer details including profile, payment account, payment option, and merchant information.
account object
Customer Payment account.
bankAccount object
Customer bank account details.
Account Holder name.
Constraints: <= 32 characters, Value must match regular expression [\u0020-\u007E]*
Bank Account number.
Format: Value must match regular expression ^([0-9]{4,10})
Bank branch.
Max length: <= 50 characters
Bank Name.
Max length: <= 50 characters
BSB Number. Format: 000000.
Max length: <= 6 characters
Bank account is PayTo if true.
Label for the account.
Max length: <= 50 characters
If PayTo account, this field will let you know the status of the Mandate.
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
creditCard object
Customer credit card details.
Card number.
Card Type.
Expiry.
Label for the card.
Merchant code.
Merchant trading name.
paymentOption object
Customer payment option.
bPayDetail object
BPAY details.
BPAY Biller Code.
BPAY Biller Reference.
Payment start date.
Notification method used to indicate the communication channel when payment successful or failed.
| Enum Value | Description |
|---|---|
| 0 | None |
| 1 | Sms |
| 2 |
payIdDetail object
PayID details.
PayID.
PayID Name.
Reference.
Payment amount. Set the default amount for auto payments or amount for one-off payment.
Payment end date.
Payment frequency. Applicable to auto pay, email reminder and sms reminder. Returns monthly if frequency is not available.
| Enum Value | Description |
|---|---|
| 32 | Weekly |
| 33 | Fortnightly |
| 34 | Quarterly |
| 35 | HalfYearly |
| 36 | Yearly |
| 37 | FourWeeks |
| 38 | Monthly |
Payment option. Use the correct payment option which is supported by the merchant.
| Enum Value | Description |
|---|---|
| 22 | AutoPay |
| 23 | EmailReminder |
| 24 | SmsReminder |
| 25 | FixedTerm |
| 26 | BatchPay |
| 27 | ScheduledPay |
| 28 | OneOff |
| 148 | PayID |
| 149 | BPAY |
profile object
Customer profile.
Australian Business Number.
address object
Customer postal address.
Address line 1.
Address line 2.
Country.
Max length: <= 100 characters
Postcode.
State / province.
Max length: <= 50 characters
Suburb / city.
Max length: <= 50 characters
BPay reference number for the customer.
Name of the customer company.
Unique code assigned to the customer.
Unique reference identifier for the customer.
Current status of the customer account.
Date the customer account was closed.
Customer date of birth.
Customer email address.
Whether BPay payment option is enabled for this customer.
Customer fax number.
Customer first name.
Customer last name.
Staff member assigned to the customer.
Customer mobile phone number.
Date the customer account was opened.
Customer phone number.
Customer title (e.g. Mr, Mrs, Ms).
{
"account": {
"bankAccount": {
"accountName": "string",
"accountNumber": "string",
"bankBranch": "string",
"bankName": "string",
"bsb": "string",
"isPayTo": true,
"label": "string",
"payToStatus": 0
},
"creditCard": {
"cardNumber": "string",
"cardType": "string",
"expiry": "string",
"label": "string"
}
},
"merchantCode": "string",
"merchantName": "string",
"paymentOption": {
"bPayDetail": {
"billerCode": "string",
"billerReference": "string"
},
"nextPaymentDate": "2024-07-29T15:51:28.071Z",
"notificationMethod": 0,
"payIdDetail": {
"payId": "string",
"payIdName": "string",
"reference": "string"
},
"paymentAmount": 0,
"paymentEndDate": "2024-07-29T15:51:28.071Z",
"paymentFrequency": 32,
"paymentOption": 22
},
"profile": {
"abn": "string",
"address": {
"address1": "string",
"address2": "string",
"country": "string",
"postcode": "string",
"state": "string",
"suburb": "string"
},
"bPayReference": "string",
"companyName": "string",
"customerCode": "string",
"customerReference": "string",
"customerStatus": "string",
"dateClosed": "2024-07-29T15:51:28.071Z",
"dateOfBirth": "2024-07-29T15:51:28.071Z",
"email": "string",
"enableBPayOption": true,
"fax": "string",
"firstName": "string",
"lastName": "string",
"merchantStaffMember": "string",
"mobile": "string",
"openDate": "2024-07-29T15:51:28.071Z",
"phone": "string",
"title": "string"
}
}