To upload a Debit Order batch via API, you can use the sample below.
The API documentation: https://help.rapidpaycollect.co.za/support/solutions/articles/69000335540-rapid-pay-collect-debit-order-collections-and-payments-api-
Please make sure you add your key in the endpoint, and your client code in the request.
Endpoint: https://sandbox.rapidpaycollect.co.za/API/DebitOrder?key=fc301277-xxxx
To make a request, include the parameter 'request' in the body of your request and use a value that (for example) looks like:
<APIDebitOrdersRequest>
<Header>
<PsVer>2.0.1</PsVer>
<Client>XXX001</Client>
<Service>DebitOrder</Service>
<ServiceType>2Day</ServiceType>
<UniqueId>123</UniqueId>
<Duedate>20180707</Duedate>
<Reference>Rapid test</Reference>
<CallBackUrl></CallBackUrl>
</Header>
<DebitOrders>
<FileContents>
<FirstNames>xxx</FirstNames>
<Surname>xxx</Surname>
<BranchCode>203809</BranchCode>
<AccountNumber>xxxx</AccountNumber>
<FileAmount>5.00</FileAmount>
<AmountMultiplier>1</AmountMultiplier>
<Reference>rapid test 1234</Reference>
</FileContents>
</DebitOrders>
<Totals>
<Records>1</Records>
<Amount>5.00</Amount>
<BranchHash>203809</BranchHash>
<AccountHash>xxxx</AccountHash>
</Totals>
</APIDebitOrdersRequest>
A tokenized <FileContents> sample could be:
If you want to apply for a facility with Rapid Pay Collect, please find our Application Form attached hereto.
Please email our Sales Team at: sales@rapidpaycollect.co.za with the fully completed application form as well as the supporting documents as requested.
For your convenience, we have also attached our API Specifications document, for Debit Order Collections and Payments, for integration into your own software systems>>>> See attached API Technical Specification Document.