Generate Order

Use this endpoint to generate orders

post
Create order

https://v2-listener.citypay.io/api/generateOrder
Request
Response
Request
Body Parameters
customer_id
required
number
Your user ID
access_token
required
string
The access token for authorization
order_id
required
string
Order Id in your system
order_token
required
string
Random string
amount
required
integer
The order amount
Response
200: OK
{
"success": true,
"message": null,
"data": {
"id": 2876,
"payment_url": "https://v2-order.citypay.io/order/token1",
"token": "token1"
}
}

‚Äč