---
title: "Add"
description: "This endpoint allows you to create a token for a credit card."
source: https://docs.payplus.co.il/en/payplus/latest/post-token-add
language: en
product: payplus
version: v1
updated: 2025-05-29
---

# Add

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

**POST** `/Token/Add`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Request body** (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `customer_uid` | string | yes | 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_uid` | string | yes | Terminal unique identifier |
| `card_date_mmyy` | string | yes | MM/YY (MM = month, YY = year) format for the card expiration date. |
| `credit_card_number` | string | yes | Full credit card number, excluding spaces or dashes. |
| `identification_number` | string |  | Card holder identification number |

```json
{
  "customer_uid": "string",
  "previous_uid": "string",
  "terminal_uid": "string",
  "card_date_mmyy": "03/25",
  "credit_card_number": "string",
  "identification_number": "string"
}
```

**Response 200** — 200

```json
{
  "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",
  "name": "job card",
  "previous_uid": "153cf0ac-25cd-4cc3-b657-3e39e0aada51"
}
```

**Response 400** — 400

```json
{}
```
