Request Authorization
For calling API you need to send your info to endpoint
POST https://app.cryptoway.cloud/api/initiate-payment
Request Authorization and TOKEN Creation
To authorize each API request, you will need to transmit your Public API key in the X-API-KEY : header and secret key in the X-API-SECRET : header as follows:
You need send into body 2 values: 1.amount (float): The amount of cryptocurrency. 2.cryptocurrency (integer): The ID of the selected cryptocurrency. Full list available in documentation.
1
TRX
2
BTC
3
ETH
Example of request with a token
An example of using the Authorization header in an API request:
cURL
POST /api/initiate-payment HTTP/1.1
Host: app.cryptoway.cloud
X-API-KEY: [Your API Key]
X-API-SECRET: [Your API Secret]
Accept: application/json
Content-Type: application/json
Cookie: [Session Cookies]
Content-Length: [Body Length]
{
"amount": 0.1,
"cryptocurrency": 4
}
Every time when you need create a payment you need send request to
https://app.cryptoway.cloud/api/initiate-payment
Last updated