v1

latestOpenAPI 3.0.12026-07-2679100267.2 KB
Charge

Request OTP before saving a user's card

Use this endpoint to request an OTP to be sent to be sent to the users phone number to authenticate the user before saving the card. This endpoint is called after payment is successful, and the user requested to save their card for later.

post/v1/checkout/user-card/auth

Request body

orderReferencestring required

order reference

phoneNumberstring required

customer's phone number

Example request

{
  "orderReference": "c4307d58-2513-41d8-b7f7-dfecd5f9fdbe",
  "phoneNumber": "08012345678"
}

Response

OK - your request was successful.

codestring required

Response Code

descriptionstring required

Response description

Example response

{
  "code": "00",
  "description": "Success",
  "data": {
    "message": "success"
  }
}