Skip to main content
GET
/
pay
/
{id}
/
embed-config
Public embed theme for a payment link
curl --request GET \
  --url http://localhost:4000/v1/pay/{id}/embed-config
const options = {method: 'GET'};

fetch('http://localhost:4000/v1/pay/{id}/embed-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "http://localhost:4000/v1/pay/{id}/embed-config"

response = requests.get(url)

print(response.text)
{
  "status": "success",
  "message": "Embed configuration fetched",
  "data": {
    "linkId": "b2c3d4e5-f6a7-8901-bcde-f12345678902",
    "embedConfig": {
      "layout": "minimal",
      "accentColor": "#0F766E",
      "hideBrandFooter": false
    }
  }
}

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Embed theme for a payment link

status
string
Example:

"success"

message
string
data
object