Create Payment

To obtain a payment link, you must first create a payment request. By sending the specified link and request contents below, you need to direct the user to the specified payment link. The result will

Create a new payment

Please do not process transactions during user return for payments. Use the webhook for this purpose.

POST /payment/create

If the customer is not registered, a new customer will be automatically created. The same applies to the product. The Success URL and Failed URL specify the page link to which the user will be redirected.

Body

Response

{
  "status": "success",
  "payment_link": "https://example.com/p/11122",
  "payment_id": "123"
  "amount": 10.2
}

Last updated