v1

latestOpenAPI 3.1.02026-07-241210356.3 KB
Tokens

Add

This endpoint allows you to create a token for a credit card.

post/Token/Add

Headers

api-keystring required

API Key

secret-keystring required

Secret Key

Request body

terminal_uidstring required

Terminal unique identifier

customer_uidstring required

Customer unique identifier, required because a token is associated with a customer.

card_date_mmyystring required

MM/YY (MM = month, YY = year) format for the card expiration date.

credit_card_numberstring required

Full credit card number, excluding spaces or dashes.

identification_numberstring

Card holder identification number

previous_uidstring

If you provide another UID and it does not exist in the PayPlus system, we will save this parameter. If it already exists, a new one will be created.

Example request

{
  "card_date_mmyy": "03/25"
}

Response

200

terminal_uidstring

Unique identifier for the terminal

customer_uidstring
credit_card_numberstring
card_date_mmyystring
identification_numberstring
namestring

Card nick name or holder name. Can be used to identify the card in a more convenient way.

previous_uidstring

Example response

{
  "terminal_uid": "e67d7991-6b13-44de-94ff-95c9ca55be84",
  "customer_uid": "e67d7991-6b13-44de-94ff-95c9ca55be84",
  "credit_card_number": "5326120380000218",
  "card_date_mmyy": "01/24",
  "identification_number": "266348226",
  "previous_uid": "153cf0ac-25cd-4cc3-b657-3e39e0aada51"
}