Note: This article is relevant to merchants integrating with Zepto in Australia.
In the event that you have already set a contact up in your Zepto account and they would like to update their bank account details, you can follow this article to correctly change their account details and continue debiting them.
The steps involved with changing a Contacts Bank Account details will vary depending on whether you are KYC trusted or not.
If your account is KYC trusted, changing a Contacts Bank details is a simple process and can be done programmatically via the API or manually via the User Interface.
If the contact that you are editing has an active Bank Connection, this will be lost when changing bank details. Once you have followed the steps in this document and the details are updated, you will need to invite this contact to confirm their credentials to be able to use the Bank Connection again.
If your standard on-boarding process involves passing a Bank Connection to us via the KYC endpoint, you may want to remove the existing Contact and Agreement and use that same endpoint to create a new Contact with the updated details rather than following the steps in this document.
In addition to this, any metadata that was stored against the Agreement will not be accessible anymore as the existing Agreement is deleted and a new one created. If this is an issue for your integration, as above, you may want to remove the existing Contact and Agreement and use the KYC endpoint to create a new Contact instead of following this document.
KYC via the API
Our update contact endpoint now has the option to include the
account_number fields when submitting a PATCH request. An example body parameter is shown below.
"name": "New Name",
The above request will change the details of the contact referenced by the id in the endpoint URL. You are able to specify multiple fields to change, as done above, or a single field should you only want to change that field.
An example successful response is shown below:
"name": "New Name",
"type": "Zepto account",
KYC via the User Interface
You are now able to change your contact's Bank details using your Zepto account user interface. Follow these simple steps to successfully update a BSB and Account Number for your contact.
Log into your Zepto Account
Click on the
Contactsfrom on the lefthand menu on your dashboard
Locate the Contact you wish to edit and click on their blue
Click on the green
Editbutton in the top right of this page
On this page, you are able to enter a new BSB and Account Number for this Contact
Once the new numbers have been entered click on the green
Change Bank Accountbutton
This should take you to your Contacts page again with a green success message stating that the contact was updated.
Keep in mind that changing a contact's Bank Account will remove the existing Agreement that is in place between you and this Contact and create a new identical one in its place. If your integration uses an Agreements reference number,
A.xxxx for any reason, this reference will need to be updated to this new Agreements reference.
Not KYC Trusted
To change customers' banking details, you will need to create a new Contact with the new bank account details. Before you do this, we recommend that you remove the existing Contact in order to keep a "clean" contact list and make referencing the correct Contact easier.
You can remove a contact via the Zepto User Interface or the API depending on what type of integration you currently have with us. Choose from the options below to see how to remove a contact using your preferred method.
Now that you have removed the contact and all associated Agreements you can create a new Contact with updated banking credentials. How you do this will, again, depend on what type of integration you have. Choose from the following options to see how to add a Contact using your preferred method.
Remove a Contact With the Zepto Interface
In order to change your customer's bank details, you will first need to stop any current Payment Request Schedules that you have in place with them.
Once this is done you can remove the Agreement you have in place between your company and this contact.
With the Payment Request Schedule and Agreement removed you are now able to remove this contact from your contact list.
Now that you have removed the previous contact and any details associated with them, you can create a new contact.
Remove a Contact With the Zepto API
To remove a Contact you will require the associated contact ID. You can find this using the API:
# Make a GET request to the following endpoint to retrieve all details
# associated with this contact
Note. You have multiple query string options that can be used to filter your contacts. These are outlined here.
Our response to this request will include the contact's ID which should be persisted for future use in this process.
You are now able to use this contact ID to retrieve all outgoing Agreements that are currently in place between you and this contact. These need to be cancelled in order to remove the contact. To remove these you will need to list each Agreement and then use the associated Agreement reference (A.xxxx) to cancel each one.
You can then use the returned Agreement references with the following endpoint to cancel each Agreement.
Note: Any Payment Requests that were approved prior to this cancellation will still go ahead and should be cancelled if you don't want them to proceed.
Now that all Agreements are cancelled you can go ahead and remove this contact using the following endpoint.
This contact has now been removed and you are able to create a new contact with updated banking credentials.
Add a Contact using an Open Agreement
Now that you have removed this contact and all details associated with them, you are able to share your Open Agreement link with them and have them fill it out using their updated credentials. This will do two things:
Create a contact in your Zepto Account with the correct banking details
Put an agreement in place between yourself and this contact, allowing you to issue Payment Requests and create any Payment Request Schedules you require.
The following is the process your contact should go through when viewing the link you have copied.
You are now able to issue any Payment Requests or create Payment Request Schedules that you normally would.
Add a contact using an Unassigned Agreement
Now that this contact has been removed, you are able to create a new contact with new banking credentials. You can do this as you normally would by POSTing a valid payload to the Unassigned Agreements endpoint and giving the retrieved link to your customer to follow. When your customer clicks on this link they will be able to enter their updated credentials and verify their bank account by filling out the displayed form.
Example body of an API call to propose an Unassigned Agreement link:
POST the following body to the /unassigned_agreements endpoints.
Example response to the previous call. Note the
When your customer follows the retrieved link they will go through the following process.
Once your Contact has correctly filled out this form you will be able to issue Payment Requests and set up Schedules as you normally would.
I hope this article has helped, feel free to reach out to us by clicking on the blue bubble icon or email us directly at firstname.lastname@example.org