> For the complete documentation index, see [llms.txt](https://docs.paykassma.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paykassma.io/documentation/api-reference/payin.md).

# PAYIN

Initiates a new payment-in (deposit) order and returns a payment URL. This is the endpoint you call when a user clicks “Pay” in your app.

```http
POST /public/api/v1/payment/payin
```

### Request body <a href="#request-body" id="request-body"></a>

<table><thead><tr><th width="172.7779541015625">Name</th><th width="157.04241943359375">Type</th><th>Description</th></tr></thead><tbody><tr><td><sub>general</sub><br><sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">object</mark></sub></td><td><sub>Envelope with the caller's project identity and signature.</sub><br> </td></tr><tr><td>   <sub>project_id</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">int</mark></sub></td><td><sub>Issued during onboarding.</sub></td></tr><tr><td>   <sub>client_id</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">int</mark></sub></td><td><sub>Issued during onboarding.</sub></td></tr><tr><td>   <sub>signature</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>HMAC-SHA-512 of the body, base64-encoded.</sub></td></tr><tr><td>   <sub>request_time</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">integer</mark></sub></td><td><sub>Unix timestamp. Requests older than a few minutes are rejected.</sub></td></tr><tr><td><sub>customer</sub><br><sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">object</mark></sub></td><td><sub>Data about the user making the payment.</sub></td></tr><tr><td>   <sub>id</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Unique user identifier in your platform.</sub></td></tr><tr><td>   <sub>ip</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>IPv4 or IPv6 of the user.</sub></td></tr><tr><td>  <sub>first_name</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Payer first name.</sub></td></tr><tr><td>   <sub>last_name</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Payer last name.</sub></td></tr><tr><td>   <sub>phone_code</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Country dialling code.</sub></td></tr><tr><td>  <sub>phone_number</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Phone number without country code.</sub></td></tr><tr><td> <sub>email</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>User email.</sub></td></tr><tr><td>  <sub>language</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">enum</mark></sub></td><td><sub>UI language for the payment page. Default: en.</sub></td></tr><tr><td><sub>order</sub><br><sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">object</mark></sub></td><td><sub>Order details.</sub></td></tr><tr><td>  <sub>merchant_id</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Your unique identifier for this order.</sub></td></tr><tr><td>   <sub>amount</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">decimal</mark></sub></td><td><sub>Amount in minor units (e.g. cents, paise). Accepts string or number on request; always returned as string in responses.</sub></td></tr><tr><td>   <sub>currency</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">enum</mark></sub></td><td><sub>ISO-4217 currency code. Must match the payment method.</sub></td></tr><tr><td>   <sub>payment_method</sub><br>   <sup><sub><mark style="color:$danger;">REQUIRED</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>See Payment methods reference.</sub></td></tr><tr><td>   <sub>success_url</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Redirect target on successful payment.</sub></td></tr><tr><td>   <sub>pending_url</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Redirect while payment is in progress.</sub></td></tr><tr><td>    <sub>fail_url</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Redirect target on failed payment.</sub></td></tr><tr><td>   <sub>cancel_url</sub><br>   <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Redirect target if the user cancels.</sub></td></tr><tr><td> <sub>postback_url</sub><br>  <sup><sub><mark style="color:$info;">OPTIONAL</mark></sub></sup></td><td><sub><mark style="color:$primary;">string</mark></sub></td><td><sub>Webhook URL. Overrides the project default.</sub></td></tr></tbody></table>

### Examples <a href="#examples" id="examples"></a>

{% tabs %}
{% tab title="bkash\_p2c" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "BDT",
    "payment_method": "bkash_p2c",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "BDT",
    "payment_method": "bkash_p2c",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="nagad\_p2c" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "BDT",
    "payment_method": "nagad_p2c",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "BDT",
    "payment_method": "nagad_p2c",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="nagad\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "BDT",
    "payment_method": "nagad_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "BDT",
    "payment_method": "nagad_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="upi\_p2c" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "INR",
    "payment_method": "upi_p2c",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "INR",
    "payment_method": "upi_p2c",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="deuna\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "USD",
    "payment_method": "deuna_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "USD",
    "payment_method": "deuna_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="pichincha\_ec\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "USD",
    "payment_method": "pichincha_ec_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "USD",
    "payment_method": "pichincha_ec_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="bac\_cr\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "CRC",
    "payment_method": "bac_cr_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "CRC",
    "payment_method": "bac_cr_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="bac\_gt\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "GTQ",
    "payment_method": "bac_gt_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "GTQ",
    "payment_method": "bac_gt_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="bac\_hn\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "HNL",
    "payment_method": "bac_hn_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "HNL",
    "payment_method": "bac_hn_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="bac\_sv\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "USD",
    "payment_method": "bac_sv_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "USD",
    "payment_method": "bac_sv_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="atlas\_py\_p2p" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+880",
    "phone_number": "01XXXXXXXXX"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "PYG",
    "payment_method": "atlas_py_p2p",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "PYG",
    "payment_method": "atlas_py_p2p",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}

{% tab title="telebirr\_auto" %}
**Example request**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFG...",
    "request_time": 1753311639
  },
  "customer": {
    "id": "user-123",
    "ip": "127.0.0.1",
    "email": "user@example.com",
    "language": "en",
    "first_name": "John",
    "last_name": "Doe",
    "phone_code": "+251",
    "phone_number": "912345678"
  },
  "order": {
    "merchant_id": "ORDER-48",
    "amount": 1000,
    "currency": "ETB",
    "payment_method": "telebirr_auto",
    "success_url": "https://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "https://yourapp.com/fail",
    "cancel_url": "https://yourapp.com/cancel",
    "postback_url": "https://yourapp.com/postback"
  }
}
```

**Example response**

```json
{
  "general": {
    "project_id": 2,
    "client_id": 1,
    "signature": "RzTMyX5jQ/DGmu9HqlIYupd5Bm+R4tMKCYrRDzBsoSbU8J6WP+FGAg5R9vFqPDFGgr4XwUIjiCyYHXi+1Y+Idw==",
    "request_time": 1753311639
  },
  "order": {
    "merchant_id": "48",
    "amount": "1000",
    "currency": "ETB",
    "payment_method": "telebirr_auto",
    "success_url": "http://yourapp.com/success",
    "pending_url": "http://yourapp.com/pending",
    "fail_url": "http://yourapp.com/fail",
    "cancel_url": "http://yourapp.com/cancel",
    "postback_url": "http://yourapp.com/postback",
    "id": 5764607523046000759,
    "type": "PAYIN",
    "status": "NEW",
    "payment_url": "https://domain.com/5764607523046000759"
  },
  "payment": null
}
```

{% endtab %}
{% endtabs %}
