CityPay
  • Merchant Payment Gateway
  • Introduction
    • API Overview
    • API Authentication
    • Error Codes
  • Endpoints and callbacks
    • Create Order
    • Get Order information
    • Deposit
    • Order Status
    • Payment Callback
    • Exchange rates
    • IP Addresses
    • Sandbox
  • Order API in your UI
    • Log in
    • Generate Order
    • Choose crypto
    • Get Order
    • Update order rates
    • Get Order History
Powered by GitBook
On this page

Was this helpful?

  1. Order API in your UI

Log in

Use this method to authorize your requests

To obtain the access token, please visit citypay.io and create an access token on the products/order

Log in

POST https://v2-order-api.citypay.io/orders/api/login/orders/api/login

Request Body

Name
Type
Description

token

string

The string for authorization

{
    "success": true,
    "data": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbiI6ImNjNzNlY2EyMmYwNTk2NTg5YWE0OGQ5Nzg2ZDNhNTgxIiwiaWF0IjoxNjE3Nzg2NTM1fQ.jrIgwkZtjVabi6g6lmFw5yXvnJL06bIVi6h43KVcIdY",
    "message": null
}

PreviousSandboxNextGenerate Order

Last updated 4 years ago

Was this helpful?