POST
/
createOrder
curl --request POST \
  --url https://gateway.finhub.cloud/erc20/createOrder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "paymentId": "<string>",
  "merchantTransactionId": "<string>",
  "amount": 123,
  "currency": "<string>",
  "paymentBrand": "<string>",
  "paymentMode": "<string>",
  "paymentType": "<string>",
  "accountId": "<string>",
  "terminalId": 123,
  "orderId": "<string>",
  "organization": "<string>",
  "card": "<string>",
  "customer": "<string>",
  "paymentStatus": "<string>",
  "processType": "<string>",
  "result": "<string>",
  "timestamp": 123
}'

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Body

application/json
paymentId
string
merchantTransactionId
string
amount
number
currency
string
paymentBrand
string
paymentMode
string
paymentType
string
accountId
string
terminalId
number
orderId
string
organization
string
card
string
customer
string
paymentStatus
string
processType
string
result
string
timestamp
number