---
title: "Website or App"
description: "Online Payment Integration for Websites and Applications"
source: https://docs.payplus.co.il/en/payplus/latest/website-or-app
language: en
product: payplus
version: v1
updated: 2025-05-29
---

# Website or App

Online Payment Integration for Websites and Applications

## Step-by-Step Instructions for Online Payment Processing

### 1. Navigate to [GenerateLink route](/en/payplus/v1/post-paymentpages-generatelink#/)  under API Endpoints \> Payment Pages

---

### 2. API Credentials

To test the API in Postman or by the [Interactive API Explorer](/en/payplus/v1/explore-and-test-our-api-instantly#/), you'll need the following:

- `payment_page_uid`
- Under the 
   
   Headers
   
    section, include:
   
     - `api-key`
     - `secret-key`

> #### 🔒 These credentials are available only to registered users. Register here: [Sign Up](https://www.payplus.co.il/signup)

For help locating your API credentials, follow this [step-by-step guide](https://www.payplus.co.il/faq/%D7%A1%D7%9C%D7%99%D7%A7%D7%94-%D7%90%D7%99%D7%A0%D7%98%D7%A8%D7%A0%D7%98%D7%99%D7%AA/%D7%97%D7%99%D7%91%D7%95%D7%A8-%D7%95%D7%94%D7%A8%D7%A9%D7%90%D7%95%D7%AA-API/%D7%94%D7%A2%D7%AA%D7%A7%D7%AA-%D7%94%D7%A4%D7%A8%D7%9E%D7%98%D7%A8%D7%99%D7%9D-API-KeySecret-KeyPage-UIDTerminal-UIDCushier-UID).

---

### 3. Required Parameters

Fill in or copy to Postman the **required** parameters that can be found under the [generateLink](https://docs.payplus.co.il/update/reference/post_paymentpages-generatelink#/)  route.

---

### 4. Callbacks and redirects

To receive transaction updates and redirect users after payment:

- **Callback URL:**  
   Add `refURL_callback` to receive server-side updates regarding the transaction.
   
   > #### 📌 Successful transaction callbacks are sent automatically when this URL is set. If you want to receive callbacks for _failed_ transactions as well, include the parameter `send_failure_callback` and set it to `true`.
- **Success URL:**  
   Add `refURL_success` to redirect users to your custom Thank You page after a successful transaction.
   
   > #### 📌 When this URL is triggered, your end user will be redirected **and** transaction data will be sent to the URL as either a _GET_ or _POST_ request—depending on the settings you've configured for your Payment Page in the PayPlus dashboard.
- **Failure URL:**  
   Add `refURL_failure` to redirect users to a custom Failure page after a failed transaction.
   
   > #### 📌 Just like the `refUrl_success`, data about the transaction attempt will be included in the request sent to this URL, using either _GET_ or _POST_, based on your PayPlus page configuration.

---

## Additional Notes

### 1. **Security Requirement – Server-Side Calls Only**

All API requests must be made **server-side**.  
Client-side calls (e.g., from browsers or mobile apps) are strictly prohibited to protect sensitive information and prevent unauthorized access.

---

### 2. **Charge Method Parameter Types**

| Value | Type | Description |
| --- | --- | --- |
| 0 | **Card Check (J2)** | Verifies that the credit card number, expiration date, and CVV are correct and that the card is active. It doesn't hold any funds, but confirms the card's validity. |
| 1 | **Charge (J4)** | Immediate payment. The customer's card is charged right away. Best for one-time purchases. |
| 2 | **Approval (J5)** | Checks if there are sufficient funds available on the card and secures the amount for a potential purchase. |
| 3 | **Recurring Payments** | Set up automatic recurring billing. Ideal for subscriptions or memberships. (Requires an additional module.) |
| 4 | **Refund** | Immediate refund. The customer's card is refunded right away. |

---

### 3. Including Extra Information with `more_info`

To include additional data in your transaction—such as an order number, shipping details, or other custom fields—use the `more_info` in your API request.

You can specify up to **six fields**:

- `more_info`
- `more_info_1`
- `more_info_2`
- `more_info_3`
- `more_info_4`
- `more_info_5`

These fields allow you to attach meaningful metadata to the transaction for tracking, reporting, or business logic purposes.

> #### 📌 Any `more_info` values you send will also be **returned to your system** via all callback and redirect URLs (`refURL_callback, refURL_success and refUrl_failure`).

---

### 📄 4. Enable Invoice Generation (Optional)

If you need to issue invoices:

- Subscribe to the invoice module in your PayPlus dashboard.
- Set up your invoice numbering preferences.
- Once enabled, include this parameter in your request:  
   `initial_invoice: true`

> **Note:** Learn more: [Invoice Setup Guide](https://www.payplus.co.il/faq/%D7%A1%D7%9C%D7%99%D7%A7%D7%94-%D7%90%D7%99%D7%A0%D7%98%D7%A8%D7%A0%D7%98%D7%99%D7%AA/%D7%97%D7%99%D7%91%D7%95%D7%A8-%D7%95%D7%94%D7%A8%D7%A9%D7%90%D7%95%D7%AA-API/%D7%94%D7%A6%D7%98%D7%A8%D7%A4%D7%95%D7%AA-%D7%95%D7%94%D7%92%D7%93%D7%A8%D7%94-%D7%A8%D7%90%D7%A9%D7%95%D7%A0%D7%99%D7%AA)

---
