Update a Customer

Pay Advantage allows your business to manage customers and their details in the Pay Advantage portal. Storing phone numbers, email addresses and notes for each customer provides a handy tool for managing your customers.



Updates the specified customer by setting the values of any parameters passed in the request body. For example, if you pass the Email parameter, the customers email will be updated to the new string.

If a parameter is not included in the request body, it will not be updated. This request accepts mostly the same parameters as the customer creation call with a few exceptions. The parameters used to update phone numbers are different from those used when creating a customer.

To generate a BPAY reference for an existing customer you will need to add ?with=bpayref to the end of the url your are posting to.

Pass the boolean parameter IsActive as false to set a customer as inactive. For a customer to be set to inactive they must have no on-going Direct Debit Requests or pending payments. If you wish to turn this customer on again later, set them active by changing this parameter to true.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
boolean | null

Flag that indicates customer type. True is a "Consumer" and false is a "Business". Changing this will update the customer type. If you change a customer to a business you must also update the parameter name to be a business name.

string | null

The entities ID from the external system that created it.

string | null

This attribute is used to store a business name against a customer. If the customer type is a "Consumer" do not use this attribute.

string | null

First name of a customer, or the first name of a businesses primary contact.

string | null

The last name of a customer, or the last name of a businesses primary contact. Generally it is a good idea to include this field.

string | null

Stores a custom reference number against a customer.

string | null

The customers primary email address. This address is used for sending payment receipts, alerts, and is required for a customer to authorise a direct debit.

date | null

This is an optional attribute that can be appended to a customer to record their date of birth.

string | null

Customers primary phone number. This string doesn't accept special characters. This is required to be a local number i.e. don't pass +61700000000 instead use 0700000000

integer | null

The Country ID of a customers primary phone. The full list of Country ID's can be found at: Country ISO IDs.

string | null

Customers home phone number. This string doesn't accept special characters. This is required to be a local number i.e. don't pass +61700000000 instead use 0700000000

integer | null

The Country ID of a customers home phone.The full list of Country ID's can be found at: Country ISO IDs.

string | null

Customers mobile phone number. This string doesn't accept special characters. This is required to be a local number i.e. don't pass +61700000000 instead use 0700000000

integer | null

The Country ID of a customers mobile phone. The full list of Country ID's can be found at: Country ISO IDs.

string | null

Address line 1. Street, PO Box, Company name e.g. 1 Smith S

string | null

Address line 2. Apartment or unit number, suite, building number.

string | null

A neighbourhood or residental area containing the customer's primary location.

string | null

Suburb of the customer's primary location.

string | null

State or territory of the customer's primary location.

integer | null

The Country ID of a customers address.The full list of Country ID's can be found at: Country ISO IDs.

string | null

Post code or ZIP code.

boolean | null

Controls whether the customer will be automatically sent emails on Direct Debit payment failures. If true emails will be automatically sent, if false no email will be sent.
If not set this is derived from your current default setting configured in your Pay Advantage portal's customer settings.

boolean | null

Controls whether the customer will be automatically sent email receipts for payments. If true emails will be automatically sent, if false no email will be sent. If not set this is derived from your current default setting configured in your Pay Advantage portal's customer settings.

boolean | null

Indicates whether the customer is active or not. A customer must have no active direct debits, or pending payment requests to be set to inactive. Returns a list of active or inactive customers e.g. isactive=true will return only active customers.

CustomFields
array of objects | null
CustomFields
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json