Create a new order

This endpoint provides you with a Order URL (order_url) specifically for order checkout. When accessed, this URL will take the user directly to the payment page where they can complete their transaction. This ensures a seamless and efficient checkout experience for your customers.

Body Params
float
required

Order amount (2 decimals)

string
required

Order Item description

string
required

Name of buyer

string
required

Name of email

string
enum
required
Allowed:
string
required

custom_id is returned as-is in the query order API and payment webhook notifications.

string
required

The URL for order notifications must start with either http or https. When an order payment is received or the status changes, PayerOne will send the relevant information to this URL.

string
required

The URL to redirect to upon successful payment must begin with http or https. Only one parameter is allowed per URL. For example: https://example.com/search?q=apples (✓) https://example.com/search?q=apples&p=orange (✖)

string

The URL to redirect to upon payment failure must begin with http or https. Only one parameter is allowed per URL. For example: https://example.com/search?q=apples (✓) https://example.com/search?q=apples&p=orange (✖)

Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json