Skip to main content
PATCH
/
v1
/
api
/
marketplace
/
gateway
/
{gateway_id}
Update Gateway
curl --request PATCH \
  --url https://api.lygosapp.com/v1/api/marketplace/gateway/{gateway_id} \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "amount": 123,
  "shop_name": "<string>",
  "fee": 123,
  "message": "<string>",
  "phone_number": "<string>"
}
'
{
  "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

Path Parameters

gateway_id
string<uuid>
required

Body

application/json
amount
integer | null
shop_name
string | null
fee
number | null
message
string | null
phone_number
string | null

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