Versions Compared
Version | Old Version 3 | New Version 4 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Meryl George (Unlicensed), Yuan Gu (Unlicensed) need your help to document this use case.
...
The real-time payment services are offered to businesses that would like to allow their customers to make a payment towards their account outside of the normal billing cycles. The customers can make a real-time payment for different reasons. It could be to:
clear an arrear in payment
make an advance payment
make an initial payment towards an account
This service needs to be enabled for the business in order that their customers avail the service. To make an advance payment, the customer’s account must be due for the next payment. There is a maximum limit for the payment amount.
Integrators have a few options to choose from. They are listed as follows:
GetPaymentToken
This can mostly be offered to customers who need to make an initial payment towards the account setup with Debitsuccess. It requires the following information from the integrator.
Account Reference No.
Amount
Call back URL
Create a one-off charge
Payment method type
Payment notes
Request type
It gives the integrator a few options such as:
Receive a link to pass on to the customers to make a payment
A separate one-off charge can be created for this payment if it has been successful
Define the amount that needs to be paid
Provide a URL for the customer to be redirected to after the payment is processed (call back URL)
For each facility, they can provide a Webhook URL which, after approval, we will store in our database. We will post the transaction details to this Webhook URL once as a JSON object. The transaction details are the same as what we send back for CallbackURL - the WebhookToken, AccountReferenceNo, ExternalAccountReferenceNo, Status and Message.
Info |
---|
We recommend that they store the WebhookToken we provide in the response securely to authenticate the information received through the WebhookURL is from Debitsuccess. |
6. The token has a lifespan of 10 minutes. This will mean that the customer needs to access the payment form URL within 10 minutes of the token being issued.
7. The token is for one-time usage. Once the operation has started (link is clicked), it cannot be reused.
Info |
---|
We recommend that this message should be used in conjunction with message GetCardPaymentStatusForCustomerAccount for confirmation of payment. |
In the GetPaymentToken process, a PayNow link is generated and that can be shared with the customer to process a payment. This will ensure that the integrator does not handle credit card information of the customer.
Sample Request
Code Block |
---|
Sample Response
Code Block | ||
---|---|---|
| ||
ProcessRealTimeCardPayment
This is used by an integrator who wants to process a real-time card payment for the customer by themselves.
It requires the following information from the integrator.
Account Reference No.
UseStoredCardDetails
AccountHolder
CVC
CardNumber
CreditCardType
ExpiryDate
Amount
Create one-off charge
Notes
It gives the integrator a few options such as:
Use a card already stored against the customer’s account.
Provide a new bank account number to transfer a specified amount or provide a new credit card number to make a payment
A separate one-off charge can be created for this payment if it has been successful
Define the amount that needs to be paid
The integrator is expected to make another call to query the status of the payment (GetCardPaymentStatusForCustomerAccount)
Sample Request
Code Block |
---|
Sample Response
Code Block | ||
---|---|---|
| ||
Casual Payment Token
This method allows integrators to retrieve a token and a URL which allows you to redirect the customer to a form to process a real-time casual payment.
It requires the following information from the integrator.
Contract Prefix
Amount
Call back URL
Payment notes
Payment Ref
It gives the integrator a few options such as:
The integrator can get the customer to make a payment without having an account with Debitsuccess
URL where customer can make payment
At the end of the operation, the user will be redirected to the call back URL provided in the request message and the status of the operation will be returned as a URL parameter.
The token has a lifespan of 10 minutes. This will mean that the customer needs to access the payment form URL within 10 minutes of the token being issued.
The token is for one-time usage. Once the operation has started (link is clicked), it cannot be reused.
For each facility, you can provide a Webhook URL which, after approval, we will store in our database. We will post the transaction details to this Webhook URL once as a JSON object. The transaction details are the same as what we send back for CallbackURL - the WebhookToken, PaymentFormToken, Status, Message, ResponseCode.
We recommend that you store the WebhookToken we provide in the response securely to authenticate the information received through the WebhookURL is from Debitsuccess.
Sample Request
Code Block |
---|
Sample Response
Code Block | ||
---|---|---|
| ||
On this page:
Table of Contents |
---|