> For the complete documentation index, see [llms.txt](https://developer.gotadi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gotadi.com/english/b2b2c-partner/webview-method/place-order.md).

# Place Order

## Payment request URL

### Specification <a href="#ac-ta" id="ac-ta"></a>

* **URL:** `<PARTNER_PAYMENT_URL>?key=<encrypted_key>?data=<encrypted_data>`
* **Method:** REDIRECT
* **Description:** Used to redirect users to the partner's payment system.
* **Security Requirements:** Data must be encrypted and include an electronic signature.

<details>

<summary>Model</summary>

* **key** (string, required):\
  The decryption key for the data (already encrypted).\
  Refer to the section **"Data Encryption and Electronic Signature Verification"** for decryption instructions.
* **data** (string, required):\
  Encrypted data including an electronic signature.\
  Refer to the section **"Data Encryption and Electronic Signature Verification"** for decryption instructions.

  *Signature data schema:*

  ```
  <access_code>|<booking_number>|<product_type>|<total_amount>
  ```

  *Original data schema:*

  ```
  <access_code>|<booking_number>|<product_type>|<signature>|<total_amount>
  ```

  * access\_code (String, required)

    Access code provided by Gotadi to the Partner.
  * bookingNumber (String, optional)

    Reference code used for booking.
  * product\_type (String, optional)

    Product type, with values **AIR** or **HOTEL**, corresponding to the purchased product type.
  * total\_amount (String, optional)

    Total amount to be paid.

</details>

#### Example

```url
https://partner_x.com/payment?key=...?data=...
```
