Capture and Track multi-capture payments
To capture a multi-payment use the /moneyins/{transactionid}/validate
call. To help you track your payment plans we have added two additional optional body parameters.
comment
reference
{
"totalAmount": 100,
"commissionAmount": 0, -> this value will be taken into account ONLY if autoComm is set to false in the authorization transaction
(this is the current legacy behaviour)
"comment": "Comment for capture", -> optional param used only for multicapture
"reference": "28d23aec-b909-46d3-bd1d-6ba8cbb02157", -> optional param used only for multicapture
}
The Authorization Object
We have added an authorization
object it has 3 parameters:
id
- a reference to the original transaction ID from the moneyins/card/webinit call. Returned in the 200 response.status
- number referencing the current status of multi-capture from the moneyins/card/webinit call. Returned in the 200 response.remainingAmount
- remaining amount due.
{
"transaction": {
"receiverAccountId": "86d4a964-2ecf-4924-96a6-0765fb517933",
"creditAmount": 500,
"scheduledNumber": null,
"maskedLabel": "",
"refundAmount": 0.0,
"bankReference": null,
"ChequeSendingAddress_CorporateName": null,
"ChequeSendingAddress_Street": null,
"ChequeSendingAddress_City": null,
"ChequeSendingAddress_PostCode": null,
"id": 840306,
"method": 0,
"date": 1694706475,
"commissionAmount": 0,
"comment": "",
"status": 0,
"executionDate": 0,
"lemonWayCommission": {
"idp2p": "580052",
"amount": 55
},
"reference": "",
"authorization": {
"id": 840305,
"status": 21,
"remainingAmount": 1500
}
}
}

Updated about 1 month ago