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
string
required
The card details as a JSON string, with
cardNumber, cardExpiryMonth, cardExpiryYear, cardCVV and cardPinstring
required
The encryption key if you encrypt
cardDetails, otherwise an empty string. See Initialize charge.string
required
data.orderReference from the create-order response, which is Nombaβs ID for the orderobject
required
Details of the customerβs browser or device
Response body
string
required
Response code
string
required
Response description
object
required
data.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.