[AU] How To Make Payments To Your Customers

This article talks about different methods you can use to make payments using the UI and API

Updated over a week ago

Note: This article is relevant to merchants integrating with Zepto in Australia.

Zepto offers various methods using which you can send a payment to any of your Contacts. This article will explain each method that you can use to make payments from your chosen bank or float account to any of your Contacts through the User Interface or the API.

This article will explain in detail how to make payments.

Using Zepto dashboard

Currently, you can make a payment using the zepto dashboard only to a contact that has been added to your zepto account. To make a payment,

  1. Sign-in into your Zepto Account

  2. Select the Payment option from the left side menu bar

  3. Select the Make A Payment button found on the top right corner of the screen (Please be advised that you make multiple payments at the same time by using the Upload a CSV option. Find more about this in our amazing article here.)

  4. Select the bank account from which you would like to make a payment

  5. Add the maturation date on when you would like to make a payment

  6. Select the contact to whom you would like to make a payment and ad the amount.

  7. Click on Schedule payment

Fig. Payment through UI

Using the API

This is a second method using which you can make a payment to your contact using the Zepto API. The endpoint we will be using to do so is POST /payments.

"https://api.sandbox.split.cash/payments"

An example payload that could be sent to this endpoint with your request is shown below.

{ 
"description": "The SuperPackage",
"matures_at": "2016-09-13T00:00:00Z",
"your_bank_account_id": "83623359-e86e-440c-9780-432a3bc3626f",
"payouts":
[
{
"amount": 3000,
"description": "A tandem skydive jump SB23094",
"recipient_contact_id": "48b89364-1577-4c81-ba02-96705895d457",
//option 1 'channels':['new_payments_platform'],
//option 2 'channels':['direct_entry'],
//option 3 'channels':['new_payments_platform','direct_entry'],
"metadata":{
"invoice_ref": "BILL-0001",
"invoice_id": "c80a9958-e805-47c0-ac2a-c947d7fd778d",
"custom_key": "Custom string",
"another_custom_key": "Maybe a URL"
}
],
"metadata":
{
"custom_key": "Custom string",
"another_custom_key": "Maybe a URL"
}
}

A Full example of this API call is located in our API Documentation.

The above API call will make a payment to the contact you have specified in the recipient_contact_id field. The amount field is given in cents, so, in the above example, the field "amount": 3000 is equal to requesting $30.00 from this contact. We'll send all of this information back to you in a response similar to the following.

{ 
"data":{
"ref": "PB.1",
"your_bank_account_id": "83623359-e86e-440c-9780-432a3bc3626f",
"payouts": [
{
"ref": "D.1",
"recipient_contact_id": "48b89364-1577-4c81-ba02-96705895d457",
"batch_description": "The SuperPackage",
"matures_at": "2016-09-13T23:50:44Z",
"created_at": "2016-09-10T23:50:44Z",
"status": "maturing",
"amount": 3000,
"description": "A tandem skydive jump SB23094",
"from_id": "83623359-e86e-440c-9780-432a3bc3626f",
"to_id": "21066764-c103-4e7f-b436-4cee7db5f400",
"metadata":
{
"invoice_ref": "BILL-0001",
"invoice_id": "c80a9958-e805-47c0-ac2a-c947d7fd778d",
"custom_key": "Custom string",
"another_custom_key": "Maybe a URL"
} ]
"metadata":
{
"custom_key": "Custom string",
"another_custom_key": "Maybe a URL"
}
}
}

Feel free to reach out if you have further questions by emailing us directly at support@zepto.com.au or clicking on the green bubble icon from the corner of the screen.

Did this answer your question?