Activate card with PAN

Call this endpoint to activate the card to an account.

Also, you can activate several cards for the same account in case.

This endpoint supports two modes of operation:

  1. If customer_id is provided in the request body, it will associate the new card with the existing customer.
  2. If card_id is provided, this will be used to activate the card to the respective customer_id provided.

Note: The card_number must be provided now.

Note: Remember to encrypt the request to send it to the server.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Example Request:

{
    "card_id": 1234,
    "customer_id": 39,
    "card_number": "5827403985674382",
    "cvv": "455",
    "expiration_month": 12,
    "expiration_year": 30
}
string
required
≥ 1

Is the internal card id to activate. Accepts either integer or string values.

string
required
≥ 1

The id of the customer whom the card is being activated. Accepts either integer or string values.
If present, the customer is assumed to have already been created

string
required
length ≤ 16
^[0-9]{16}$

The number of the card to activate. Must be a 16-character numeric string (0-9). When is provided, it must match the card being activated; otherwise, the request is rejected.

string
required

The card's cvv

int64
required

The expiry month of the activation of the card. The value must be always between 1 and 12.

int64
required

The expiry year of the activation of the card. The value must be always between 00 and 99 (the last two digits of the year).

Headers
string
required

OAuth token belonging to the e-commerce

Responses

{
    "text": "Success",
    "error": {},
    "payload": {},
    "endpoint": "debit/v2/activateCardWithPAN",
    "timestamp": "2024-11-15T14:32:18.123Z"
}

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*