Skip to main content
POST
/
v1
/
api
/
marketplace
/
gateway
Create Gateway
curl --request POST \
  --url https://api.lygosapp.com/v1/api/marketplace/gateway \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "amount": 123,
  "shop_name": "<string>",
  "phone_number": "<string>",
  "fee": 2,
  "message": ""
}
'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "amount": 123, "currency": "<string>", "country": "<string>", "fee": 123, "shop_name": "<string>", "phone_number": "<string>", "marketplace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "link": "<string>", "creation_date": "2023-11-07T05:31:56Z", "marketplace_logo": "<string>", "marketplace_color": "<string>", "message": "", "favicon": "", "form_blocks": [], "marketplace_favicon": "<string>" }

Headers

api-key
string | null
required

Body

application/json
amount
integer
required
shop_name
string
required
phone_number
string
required
fee
number | null
default:2
message
string | null
default:""

Response

Successful Response

id
string<uuid>
required
amount
integer
required
currency
string
required
country
string
required
fee
number
required
shop_name
string
required
phone_number
string
required
marketplace_id
string<uuid>
required
creation_date
string<date-time>
required
marketplace_color
string
required
message
string | null
default:""
favicon
string | null
default:""
form_blocks
MarketFormBlock · object[] | null
marketplace_favicon
string | null