Gateway
Create Payment Gateway
POST
/
v1
/
gateway
Copy
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>"
}'
Copy
{
"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>"
}
Headers
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Copy
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>"
}'
Copy
{
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.