Add
This endpoint allows you to create a token for a credit card.
POST
https://restapidev.payplus.co.il/api/v1.0/Token/AddEnvironment
Headers
stringrequired
API Key
stringrequired
Secret Key
Request body
| Field | Type | Description |
|---|---|---|
customer_uidrequired | string | Customer unique identifier, required because a token is associated with a customer. |
previous_uid | string | 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. |
terminal_uidrequired | string | Terminal unique identifier |
card_date_mmyyrequired | string | MM/YY (MM = month, YY = year) format for the card expiration date. |
credit_card_numberrequired | string | Full credit card number, excluding spaces or dashes. |
identification_number | string | Card holder identification number |
Edit the request body
Responses
200 200
| Field | Type | Description |
|---|---|---|
name | string | Card nick name or holder name. Can be used to identify the card in a more convenient way. |
customer_uid | string | |
previous_uid | string | |
terminal_uid | string | Unique identifier for the terminal |
card_date_mmyy | string | |
credit_card_number | string | |
identification_number | string |