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 temporary 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 paratemers in a JSON object and send them as the value of a parameter called request_body. You can view some practical examples on our API guides section.

Request parameters

public_integration_key

string, length 100, required

Your unique and secret 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

string, length 32-128, unique, required

The token that you want to associate the CVV with.

card_cvv

string, length 3-4, required

Credit card security code.

Response parameters

status

string

The status of the the request (SUCCESS or ERROR).

token

string, length 1-200, unique

The token specified in the request.

masked_card_number

string, length 14-19

The masked credit card number. This can be stored and shown to the customer.