Logo
Developer portal API Documentation

Generate charge token using card details

POST https://demo-api.vivapayments.com/nativecheckout/v2/chargetokens

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://demo-api.vivapayments.com/nativecheckout/v2/chargetokens' -H 'Content-Type: application/json' -d '{"authenticateCardholder":false,"Amount":1000,"Cvc":"111","Number":"4016000000040000012","Holdername":"John Doe","ExpirationYear":2030,"ExpirationMonth":10,"SessionRedirectUrl":"https://www.example.com"}'

ENDPOINTS