curl --request POST \
--url https://api.lygosapp.com/v1/gateway \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"amount": 123,
"shop_name": "<string>",
"message": "<string>",
"success_url": "<string>",
"failure_url": "<string>",
"order_id": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"currency": "<string>",
"shop_name": "<string>",
"message": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creation_date": "2023-11-07T05:31:56Z",
"link": "<string>",
"order_id": "<string>",
"success_url": "<string>",
"failure_url": "<string>"
}
curl --request POST \
--url https://api.lygosapp.com/v1/gateway \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"amount": 123,
"shop_name": "<string>",
"message": "<string>",
"success_url": "<string>",
"failure_url": "<string>",
"order_id": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"currency": "<string>",
"shop_name": "<string>",
"message": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creation_date": "2023-11-07T05:31:56Z",
"link": "<string>",
"order_id": "<string>",
"success_url": "<string>",
"failure_url": "<string>"
}
Successful Response
The response is of type object
.