---
title: "Charge Transaction (J4)"
description: "Charge a customer by credit card or saved token through the PayPlus API, with optional customer details, products, installments and 3D Secure data, and receive the transaction result."
source: https://docs.payplus.co.il/en/payplus/latest/post-transactions-charge
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Charge Transaction (J4)

**POST** `/Transactions/Charge`

- 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 |
| --- | --- | --- | --- |
| `id` | string |  | Payer credit card holder identification number |
| `token` | string |  | Required only if use_token is true |
| `amount` | number | yes |  |
| `add_data` | string |  | SHOULD BE SENT JUST IF YOUR CREDIT CARD COMPANY OPENED THIS OPTION !!! |
| `customer` | object |  |  |
| `customer.city` | string |  |  |
| `customer.email` | string | yes | By this field we will search for a customer and allocate the payment under the client |
| `customer.phone` | string |  |  |
| `customer.address` | string |  |  |
| `customer.full_name` | string |  | In case the customer is a company, contact personal name can be sent using this field |
| `customer.cell_phone` | string |  |  |
| `customer.vat_number` | string |  | In case email are not sent, we will search for a customer by this field |
| `customer.country_ISO` | string |  | Example: IL |
| `customer.customer_name` | string | yes | Important in case you working with invoicing company |
| `payments` | object |  | Optional |
| `payments.number` | integer | yes | Number of payments |
| `payments.first_amount` | integer |  | First Payment |
| `payments.nonfirst_amount` | integer |  | Remaining payments |
| `products` | array |  | Optional ,Array of objects |
| `products[].name` | string |  |  |
| `products[].price` | string |  | product price |
| `products[].quantity` | string |  | product quantity. Example: 1 |
| `products[].vat_type` | string |  | 'vat included' OR 1-'vat not included' OR 2- 'exempt vat' |
| `products[].product_uid` | string |  | Unique identifier for product. Example: de11bca8-416e-4b47-9e5a-0040e21b0b3f |
| `products[].currency_code` | string |  | EX: ILS |
| `products[].discount_type` | string |  | amount OR percentage |
| `products[].discount_value` | integer |  |  |
| `products[].product_invoice_extra_details` | string |  | Example: some text |
| `use_token` | boolean | yes | If true , token is required |
| `extra_info` | string |  |  |
| `cashier_uid` | string | yes | Unique identifier for cashier |
| `credit_card` | object |  | Required if use token is false |
| `credit_card.cvv` | string |  |  |
| `credit_card.exp_mm` | string |  | required if send credit card |
| `credit_card.exp_yy` | string |  | required if send credit card |
| `credit_card.number` | string |  | required if send credit card |
| `credit_card.auth_number` | string |  | authorization number from credit company |
| `deferMonths` | integer |  | nullable (If you are using Club Codes [Kod Moadon] send the code in this field) |
| `more_info_1` | string |  | nullable (Additional Information) |
| `more_info_2` | string |  | nullable (Additional Information) |
| `more_info_3` | string |  | nullable (Additional Information) |
| `more_info_4` | string |  | nullable (Additional Information) |
| `more_info_5` | string |  | nullable (Additional Information) |
| `create_token` | boolean |  | nullable (In case you have tokenization permission, you can decide if you would like to return the token of the customer for future charges) |
| `credit_terms` | integer | yes | 1-regular OR 6-credit OR 8-payment |
| `customer_uid` | string |  | Mandatory if use_token is true, customer object can be used instead |
| `terminal_uid` | string | yes | Unique identifier for terminal |
| `currency_code` | string | yes |  |
| `initial_invoice` | boolean |  | If sent the transactions will consider if to initial invoice or not, if not sent then will take the default setting |
| `self_secure_3ds` | object |  |  |
| `self_secure_3ds.eci` | string |  | eci returned from the 3DSecure provider. Only 02, 05 will be sent to the 3D Secure provider, otherwise will be as regular transaction. |
| `self_secure_3ds.cavv_ucaf` | string |  | UCAF returned from the 3DSecure provider.  "MTIzNDU2Nzg5MDA5ODc2NTQzMjE=" |
| `self_secure_3ds.external_uid` | string |  | zdfe-4bd0-b698-2bb64996cdf9" (string) - External 3D Secure UID |
| `self_secure_3ds.external_trans_uid` | string |  | ea0e-4bd0-b7be-2bb64996cdf3" (string) - External 3D Secure Result Transaction UID |
| `customer_name_invoice` | string |  | Required only if customer_uid is null and have integrated invoice system |
| `original_terminal_uid` | string |  | In case you charging J5 transaction in another terminal, provide the original terminal of the original J5 tranasaction. |

```json
{
  "id": "string",
  "token": "string",
  "amount": 0,
  "add_data": "string",
  "customer": {
    "city": "string",
    "email": "string",
    "phone": "string",
    "address": "string",
    "full_name": "string",
    "cell_phone": "string",
    "vat_number": "string",
    "country_ISO": "string",
    "customer_name": "string"
  },
  "payments": {
    "number": 0,
    "first_amount": 0,
    "nonfirst_amount": 0
  },
  "products": [
    {
      "name": "string",
      "price": "string",
      "quantity": "string",
      "vat_type": 0,
      "product_uid": "string",
      "currency_code": "string",
      "discount_type": "amount",
      "discount_value": 10,
      "product_invoice_extra_details": "string"
    }
  ],
  "use_token": false,
  "extra_info": "string",
  "cashier_uid": "string",
  "credit_card": {
    "cvv": "string",
    "exp_mm": "string",
    "exp_yy": "string",
    "number": "string",
    "auth_number": "string"
  },
  "deferMonths": 0,
  "more_info_1": "string",
  "more_info_2": "string",
  "more_info_3": "string",
  "more_info_4": "string",
  "more_info_5": "string",
  "create_token": false,
  "credit_terms": 1,
  "customer_uid": "string",
  "terminal_uid": "string",
  "currency_code": "ILS",
  "initial_invoice": true,
  "self_secure_3ds": {
    "eci": "string",
    "cavv_ucaf": "string",
    "external_uid": "string",
    "external_trans_uid": "string"
  },
  "customer_name_invoice": "string",
  "original_terminal_uid": "string"
}
```

**Response 200** — 200

```json
{
  "results": {
    "status": "success",
    "code": 0,
    "description": "operation has been success"
  },
  "data": {
    "transaction": {
      "uid": "599dbe80-53bf-4e2b-9f66-e38d42b90b68",
      "number": "ha635",
      "type": "internal_page",
      "date": "2021-01-07 16:24:31",
      "status_code": "000",
      "amount": 90,
      "currency": "ILS",
      "credit_terms": "credit",
      "payments": {
        "number_of_payments": 3,
        "first_payment_amount": 0,
        "rest_payments_amount": 0
      },
      "secure3D": {
        "status": false,
        "tracking": null
      },
      "approval_number": "0000000",
      "voucher_number": "07-480-067",
      "more_info": "Smart TV",
      "more_info_1": "Additional 1",
      "more_info_2": "Additional 2",
      "more_info_3": "Additional 3",
      "more_info_4": "Additional 4",
      "more_info_5": "Additional 5"
    },
    "data": {
      "customer_uid": "ef76432c-769a-43a6-ba7a-6f70272539d8",
      "terminal_uid": "97432e96-3c21-4eb2-9d64-1067e845b35a",
      "cashier_uid": "1bc7b001-d90c-43b3-a8bb-58ab8a3013ba",
      "items": [
        {
          "amount_pay": 100,
          "discount_amount": 10,
          "discount_type": "amount",
          "discount_value": 10,
          "quantity": "1",
          "quantity_price": 85.47,
          "product_uid": "ba4c68a6-0e26-4bc7-b26c-675f87761c3a",
          "name": "Smart TV"
        }
      ],
      "card_information": {
        "four_digits": "0218",
        "expiry_month": "01",
        "expiry_year": "24",
        "clearing_id": 6,
        "brand_id": 2,
        "issuer_id": 1
      }
    }
  }
}
```

**Response 400** — 400

```json
{}
```
