Submit customer card details
orderReference from Create a checkout order. You need to be PCI DSS compliant to handle card details.
The card is saved because you set tokenizeCard: true on the order. You don’t need to send saveCard. On its own, saveCard saves the card to the customer’s Nomba checkout, not to your account, so you can’t charge it.
POST /v1/checkout/checkout-card-detail
Headers
This call doesn’t need anAuthorization or accountId header.
Request body
The card details as a JSON string, with
cardNumber, cardExpiryMonth, cardExpiryYear, cardCVV and cardPinThe encryption key if you encrypt
cardDetails, otherwise an empty string. See Initialize charge.data.orderReference from the create-order response, which is Nomba’s ID for the orderResponse body
Whendata.responseCode is T0, ask the customer for the OTP and keep data.transactionId for the next step.
Next: Submit card OTP
Send the OTP to complete the first payment.