Create Payment

The Create Payment Transaction API is a vital component of Ottu's Checkout API collection, engineered to equip merchants with the tools necessary to initiate payment transactions effectively. This API employs a POST request that not only facilitates the creation of transactions but also generates unique payment links associated with each transaction's session_id. These payment links are highly adaptable and can be seamlessly integrated into various communication platforms such as email, WhatsApp, and SMS, enabling merchants to easily share them with customers.

For secure access, the API supports both API key and Basic Authentication methods. Additionally, the "Can Add Payment" permission must be enabled for users to operate this API successfully when using Basic Authentication. Please refer to Create Permission section for more information.

For more details on how to implement this API, including request and response parameters, please refer to Request Parameters and Response Parameters sections.

To further enhance integration and maximize the API's capabilities, merchants are encouraged to consult the Setup section within the Checkout API's main documentation, where available SDK packages are detailed. This guidance is designed to streamline the integration process and ensure that merchants can leverage the full potential of the Create Payment Transaction API.

  • Generation of Unique Payment Links: Each transaction created through this API is accompanied by a unique payment link, which can be easily distributed to customers across multiple channels, enhancing the flexibility and reach of transaction processing.

  • Integration of Customer Information: The API allows for the inclusion of comprehensive customer details in the transaction, covering billing and shipping information. This integration helps in personalizing the transaction and ensuring accuracy in the fulfillment process.

  • Customizable Data Inputs: Merchants have the flexibility to include a variety of data within the request body. This feature is particularly useful for tailoring transactions according to specific business needs and customer requirements, allowing for the addition of custom data fields and values relevant to the transaction.

This API is an essential tool for merchants looking to streamline their payment processes and enhance customer interactions. By leveraging the capabilities of the Create Payment Transaction API, businesses can ensure a smoother transaction flow and improved customer satisfaction.

To initiate a payment transaction using the Create Payment Transaction API, send a POST request to the following endpoint:

POST https://<ottu-url>/b/checkout/v1/pymt-txn/

Last updated