setCVV operation
Endpoints
https://api.ebanx.com/ws/token/setCVV
https://sandbox.ebanx.com/ws/token/setCVV
HTTP Method
POST
Response
JSON
The setCVV operation is used to temporarily associate a CVV with an existing token. This CVV will be used by the next request made with the associated token and then discarded.
The setCVV operation is useful for one-click payments, where you already have the customer’s credit card information and cannot send the CVV from your server.
For this method, you will need to wrap the request parameters in a JSON object and send them as the value of a parameter called request_body
.
Request parameters
public_integration_key
Your unique and public integration key. You can do a token operation using this key instead of the integration key when the request is from the client of your customer (browser, app, etc…). By doing this, you don’t have to deal directly with the credit card information of your customer.
token
The token that you want to associate the CVV with.
card_cvv
Credit card security code.
Response parameters
status
The request status (SUCCESS or ERROR).
token
The token specified in the request.
masked_card_number
The masked credit card number. This can be stored and shown to the customer.