Generate Order
Use this endpoint to generate orders
Create order
POST
https://v2-listener.citypay.io/api/generateOrder
Request Body
Name
Type
Description
customer_id
number
Your user ID
access_token
string
The access token for authorization
order_id
string
Order Id in your system
order_token
string
Random string
amount
integer
The order amount
{
"success": true,
"message": null,
"data": {
"id": 2876,
"payment_url": "https://v2-order.citypay.io/order/token1",
"token": "token1"
}
}
Last updated
Was this helpful?