- API reference
- Elements API
Update allowed origins
https://api.kustom.co/elements/v1/clients/{clientId}/allowed-origins
Update origins that are permitted to use the client.
Client identifier
No field here matches the current filters.
Origins to add to the client’s allow list.
No field here matches the current filters.
OK
Unique identifier for the client.
The ID of the merchant that owns the client.
Browser origins permitted to use this client.
Friendly name shown in the portal.
Placements configured for this client.
14 fields in placements
Placement key configured for the client.
Optional CSS that will be injected into the placement container.
Information required to render the placement.
The configuration for the Express checkout flow.
6 fields in express_config
URL that will be used for push notification when an order is completed. Should be different than checkout and confirmation URLs. (max 2000 characters) Example: “https://merchant.com/push”
URL that will be requested for final merchant validation. (must be https, max 2000 characters) Example: “https://merchant.com/validation”
URL of the merchant confirmation page. The consumer will be redirected back to the confirmation page if the authorization is successful after the customer clicks on the ‘Place Order’ button inside checkout. The special characters of the confirmation URL should be encoded, e.g. the “space” character should be written as “%20”. Then, on top of that, the whole confirmation URL should be encoded. E.g. the “space” character should become “%2520”. (max 2000 characters) Example: “https://merchant.com/confirmation.html”
An ordered list of payment methods and how they should be offered in the express checkout.
Time when the client was created.
Time when the client was last updated.
No field here matches the current filters.
Bad Request
- CLIENT_NOT_FOUND
- ORIGIN_NOT_ALLOWED
- HTTP_CLIENT_ERROR
- HTTP_SERVER_ERROR
- DOMAIN_NOT_WHITELISTED
- PLACEMENT_CONFIG_MISSING
- ARGUMENT_NOT_VALID
- CONSTRAINT_VIOLATION
- PROFILE_DOESNT_BELONG_TO_MERCHANT
- MERCHANT_NOT_FOUND
No field here matches the current filters.
Unauthorized
- CLIENT_NOT_FOUND
- ORIGIN_NOT_ALLOWED
- HTTP_CLIENT_ERROR
- HTTP_SERVER_ERROR
- DOMAIN_NOT_WHITELISTED
- PLACEMENT_CONFIG_MISSING
- ARGUMENT_NOT_VALID
- CONSTRAINT_VIOLATION
- PROFILE_DOESNT_BELONG_TO_MERCHANT
- MERCHANT_NOT_FOUND
No field here matches the current filters.
Bad Gateway
- CLIENT_NOT_FOUND
- ORIGIN_NOT_ALLOWED
- HTTP_CLIENT_ERROR
- HTTP_SERVER_ERROR
- DOMAIN_NOT_WHITELISTED
- PLACEMENT_CONFIG_MISSING
- ARGUMENT_NOT_VALID
- CONSTRAINT_VIOLATION
- PROFILE_DOESNT_BELONG_TO_MERCHANT
- MERCHANT_NOT_FOUND
No field here matches the current filters.
This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.