Pay by Interac (CAD)
Currently, on the Leatherback Platform, This payment method is only supported in CAD Currency. The process below can be followed to integrate the CAD Interac ;
Call Initiate Payment Endpoint
Title: Initiate Payment
Description: This endpoint allows you initiate a collection payment
URL: https://laas.leatherback.co/api/payment/pay/initiate
Element | Description | Type | Example | Required |
Channel | An array of payment channels to control what channels you want to make available to the user to make a payment with NB The available channels vary by the currency selected. | Array of string | ["Interac" ] | Yes |
amount | The amount to charge the customer for the transaction | String | 100 | Yes |
currencyCode | A three-letter ISO code for the currency in which you want to accept the payment. A unique code that represents a defined business currency. | string | CAD | Yes
|
narration | This is usually a description of items being purchased by a customer | string | Payment for goods | No
|
reference | This is a unique alphanumeric code that identifies a payment. NB: if not passed, the system will automatically generate a reference | string |
| No |
firstName | This is the first Name of the Customer | string | John | Yes |
lastName | This is the last Name of the Customer | string | Doe | Yes |
phoneNumber | This is the phone number of the Customer | string | +2348101969815 | Yes |
emailAddress | This is the email address of the customer | string | Yes | |
paymentRequestProps | The metadata object that contains the information about the payer. This is the email address tied to Interac | object | "paymentRequestProps": {
"email": "test@gmail.com"
}, | Yes |
Sample Response
{
"value": {
"paymentStatus": "INITIATED",
"requiresAction": false,
"message": "Payment Initiated Successfully",
"bankAuthURL": null,
"paymentItem": {
"channel": "Interac",
"message": "Payment Initiated Successfully",
"totalAmount": 45,
"amount": 45,
"fees": 0,
"reference": "cbe81f2b-f412-418e-93db-495652a1d6e5",
"paymentReference": "TDUJ1NKOQSDP2NOPPG",
"metaData": {}
}
},
"isSuccess": true,
"error": "",
"message": "",
"type": null,
"title": null,
"status": null,
"detail": null,
"instance": null
}
Related content
Leatherback 2024