Skip to main content

Submit customer card OTP

Step 3 of 7. Send the OTP the customer received from their bank, with the orderReference from Create a checkout order and the transactionId from Submit card details. When the payment succeeds, Nomba saves the card and sends you its token in the next step.

POST /v1/checkout/checkout-card-otp

Headers

This call doesn’t need an Authorization or accountId header.

Request body

string
required
The OTP the customer received from their bank
string
required
data.orderReference from the create-order response
string
required
data.transactionId from Submit card details

Response body

string
required
Response code
string
required
Response description
object
required
If the OTP is wrong, data.status is false. The customer can try 3 times.

Next: Store the card token

Read the token from the webhook and save it with your customer.