Check Card Transaction (J2)
POST
https://restapidev.payplus.co.il/api/v1.0/Transactions/CheckEnvironment
Headers
stringrequired
API Key
stringrequired
Secret Key
Request body
| Field | Type | Description |
|---|---|---|
id | string | Payer credit card holder identification number |
notes | string | |
token | string | Required only if use_token is true |
amountrequired | number | |
customer | object | |
customer.city | string | |
customer.emailrequired | string | 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 | EX: IL |
customer.customer_namerequired | string | Important in case you working with invoicing company |
payments | object[] | Optional |
payments[].number | integer (int) | Number of payments |
payments[].first_amount | integer (int) | First Payment |
payments[].nonfirst_amount | integer (int) | Remaining payments |
products | object[] | 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_tokenrequired | boolean | If true , token is required |
extra_info | string | |
cashier_uidrequired | string | 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 |
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_termsrequired | integer (int) | 1-regular OR 6-credit OR 8-payment |
customer_uid | string | Mandatory if use_token is true, customer object can be used instead |
terminal_uidrequired | string | Unique identifier for terminal |
currency_coderequired | string | |
customer_name_invoice | string | Required only if customer_uid is null and have integrated invoice system |
Edit the request body
Responses
200 200
| Field | Type | Description |
|---|---|---|
data | object | |
results | object | |
results.code | integer | |
results.status | string | |
results.description | string |