post https://api.lenco.co/access/v2/collections/mobile-money/submit-otp
Submit OTP to proceed with mobile money collection request
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"id": string,
"initiatedAt": date-time,
"completedAt": date-time | null,
"amount": string,
"fee": string | null,
"bearer": "merchant" | "customer",
"currency": string,
"reference": string,
"lencoReference": string,
"type": "mobile-money",
"status": "pending" | "successful" | "failed" | "otp-required" | "pay-offline",
"source": "api",
"reasonForFailure": string | null,
"settlementStatus": "pending" | "settled" | null,
"settlement": null,
"mobileMoneyDetails": {
"country": string,
"phone": string,
"operator": string,
"accountName": string | null,
} | null,
"bankAccountDetails": null,
"cardDetails": null,
}
}
In the sandbox environment, use 000000
as the OTP.
Responses