Create Order
Last updated
Last updated
The orders are placed using create order API method. Payment URL is generated after successful call. Buyer should be redirected to payment URL. On this page buyer can see the payment amount, select the desired payment currency and complete the payment.
POST
https://v2-listener.citypay.io/api/generateOrder
Name | Type | Description |
---|---|---|
customer_id
string
Your account's ID
access_token
string
Access token issued by CityPay
order_id
integer
Order ID
order_token
integer
Unique token for order given by you
amount
number
The price set by the merchant in double type