POST
/
v1
/
gateway
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>"
}

Headers

api-key
string | null
required

Body

application/json
amount
integer
required
shop_name
string
required
order_id
string
required
message
string | null
default:
success_url
string | null
default:
failure_url
string | null
default:

Response

200
application/json
Successful Response
id
string
required
amount
integer
required
currency
string
required
shop_name
string
required
user_id
string
required
creation_date
string
required
message
string | null
default:
order_id
string | null
default:
success_url
string | null
default:
failure_url
string | null
default: