Charge a customer using tokenized card data
You can use this endpoint to charge a customer’s card using the tokenized card details.
otpRequired: true and a transactionId, and the charge stays pending:- Collect the OTP the customer receives from their bank.
- Submit it with Submit customer card OTP, sending
otp,orderReferenceand thetransactionIdfrom this response.
Authorizations
Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. Both methods return an access token. Send it in the Authorization header: Authorization: Bearer <access_token>.
Headers
The parent accountId of the business.
"890022ce-bae0-45c1-9b9d-ee7872e6ca27"
Body
The request payload required to perform a tokenized payment.
Response
OK - your request was successful.
Response Code
"00"
Response description. It says the transaction completed even when the charge was declined or needs an OTP, so read data.status and data.otpRequired instead.
"tokenized transaction completed successfully"