SET API (Platforms) · Customers
Get a terms link
POST/v1/tos_links
The provider's hosted terms page for a customer you will verify by API. When the customer accepts, the page returns signed_agreement_id as a query parameter on redirectUri (or posts signedAgreementId to the parent window in an iframe). Send it as signedAgreementId with POST /v1/customers.
Headers
Idempotency-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Body
redirectUrihttps URL- Where the page sends the customer back, with
signed_agreement_id.
Notes
- In staging the provider's sandbox accepts any UUID as a signed agreement.
Errors
400 body_invalid400 redirect_uri_invalid413 payload_too_large502 bridge_unavailable401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited