Skip to main content

New Customer Request

Customer creation request including profile, payment option, and account details.

abnstring

Australian Business Number.

additionalPaymentAccountProxies object[]

Additional PaymentAccountProxies. Proxy is generated using the Payments Plugin for Bank and Credit/Debit Card or /cardProxies api for Credit/Debit Card.

  • Array [
  • labelstring

    Label for the account.

    Max length: <= 80 characters

    proxystringrequired

    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 characters

  • ]
  • additionalReferences object[]

    Additional references if you have more than one references to manage. Eg: Parents paying childcare fee for more than one kid.

  • Array [
  • customerReferencestring

    Customer reference linked to this additional reference.

    fullNamestring

    Full name associated with the additional reference.

  • ]
  • address object

    Customer address.

    address1stringrequired

    Address line 1.

    address2string

    Address line 2.

    countrystringrequired

    Country.

    Max length: <= 100 characters

    postcodestringrequired

    Postcode.

    statestringrequired

    State / province.

    Max length: <= 50 characters

    suburbstringrequired

    Suburb / city.

    Max length: <= 50 characters

    bankAccount object

    Customer bank account details.

    accountNamestringrequired

    Account Holder name.

    Constraints: <= 32 characters, Value must match regular expression [\u0020-\u007E]*

    accountNumberstringrequired

    Bank Account number.

    Format: Value must match regular expression ^([0-9]{4,10})

    bankBranchstring

    Bank branch.

    Max length: <= 50 characters

    bankNamestring

    Bank Name.

    Max length: <= 50 characters

    bsbstringrequired

    BSB Number. Format: 000000.

    Max length: <= 6 characters

    isPayToboolean

    Bank account is PayTo if true.

    labelstring

    Label for the account.

    Max length: <= 50 characters

    payToStatusinteger<int32>

    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]

    card object

    Customer credit / debit card proxy. (Token is generated using the /tokens api.

    cardProxystringrequired

    Card proxy generated by the /cardproxies api.

    Max length: <= 40 characters

    labelstring

    Label for the card.

    Max length: <= 80 characters

    customerCompanyNamestring

    Company name if this is company account.

    customerReferencestringrequired

    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.

    dateOfBirthstring<date-time>required

    Date of birth. Customer must be atleast 16 years old.

    emailstringrequired

    Email address.

    enableBPayOptionboolean

    Allows to enable BPAY option for the customer / parent.

    faxstring

    Fax number.

    firstNamestringrequired

    First name.

    Max length: <= 30 characters

    isBPayCrnPassedboolean

    Send this as true when customer reference passed if CRN. Default is set to false if not passed.

    lastNamestringrequired

    Last name.

    Max length: <= 30 characters

    merchantStaffMemberstring

    Merchant Staff member assigned to this customer / parent.

    mobilestringrequired

    Mobile number.

    notificationMethodinteger<int32>required

    Notification method used to indicate the communication channel when payment successful or failed.

    Enum ValueDescription
    0None
    1Sms
    2Email
    paymentAccountProxy object

    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.

    labelstring

    Label for the account.

    Max length: <= 80 characters

    proxystringrequired

    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 characters

    paymentAmountnumber<double>required

    Payment amount. Set the default amount for auto payments or amount for one-off payment.

    paymentEndDatestring<date-time>

    Payment end date.

    paymentFrequencyinteger<int32>required

    Payment frequency. Applicable to auto pay, email reminder and sms reminder.

    Enum ValueDescription
    32Weekly
    33Fortnightly
    34Quarterly
    35HalfYearly
    36Yearly
    37FourWeeks
    38Monthly
    paymentOptioninteger<int32>required

    Payment option. Use the correct payment option which is supported by the merchant.

    Enum ValueDescription
    22AutoPay
    23EmailReminder
    24SmsReminder
    25FixedTerm
    26BatchPay
    27ScheduledPay
    28OneOff
    148PayID
    149BPAY
    paymentStartDatestring<date-time>required

    Payment start date.

    phonestring

    Phone number.

    promotionCodestring

    Promotion code if any.

    sendWelcomeEmailboolean

    Sends welcome email if set to true. Default is set to true if not passed.

    titlestring

    Provide the salutation. Eg: Mr or Mrs.

    Max length: <= 10 characters

    websiteUrlstring

    Website URL if any.

    New Customer Request
    {
    "abn": "string",
    "additionalPaymentAccountProxies": [
    {
    "label": "string",
    "proxy": "string"
    }
    ],
    "additionalReferences": [
    {
    "customerReference": "string",
    "fullName": "string"
    }
    ],
    "address": {
    "address1": "string",
    "address2": "string",
    "country": "string",
    "postcode": "string",
    "state": "string",
    "suburb": "string"
    },
    "bankAccount": {
    "accountName": "string",
    "accountNumber": "string",
    "bankBranch": "string",
    "bankName": "string",
    "bsb": "string",
    "isPayTo": true,
    "label": "string",
    "payToStatus": 0
    },
    "card": {
    "cardProxy": "string",
    "label": "string"
    },
    "customerCompanyName": "string",
    "customerReference": "string",
    "dateOfBirth": "2024-07-29T15:51:28.071Z",
    "email": "string",
    "enableBPayOption": true,
    "fax": "string",
    "firstName": "string",
    "isBPayCrnPassed": true,
    "lastName": "string",
    "merchantStaffMember": "string",
    "mobile": "string",
    "notificationMethod": 0,
    "paymentAccountProxy": {
    "label": "string",
    "proxy": "string"
    },
    "paymentAmount": 0,
    "paymentEndDate": "2024-07-29T15:51:28.071Z",
    "paymentFrequency": 32,
    "paymentOption": 22,
    "paymentStartDate": "2024-07-29T15:51:28.071Z",
    "phone": "string",
    "promotionCode": "string",
    "sendWelcomeEmail": true,
    "title": "string",
    "websiteUrl": "string"
    }