Sphere Paysphere
Tos link

Create TOS Link

POST
/v2/customer/{customer_id}/tos-link

Authorization

AuthorizationRequiredBearer <token>

In: header

Request Body

application/jsonOptional
bodyobject

Path Parameters

customer_idRequiredstring

The customer's id

curl -X POST "https://api.sandbox.spherepay.co/v2/customer/{{customer_id}}/tos-link" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d ''

OK

{
  "link": "https://staging.spherepay.co/tos?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjdXN0b21lcl82OGYxYzA4OTcwMzk0NWU3YmJmZjZmMDRiZjFjNTA0MSIsImFwcGxpY2F0aW9uSWQiOiJhcHBsaWNhdGlvbl84MmE4N2JkYmVjZTk0MDdmYjg2MTM1Nzc1NGU4NWFjMCIsImlhdCI6MTc0NTE3NzI0MSwiZXhwIjoxNzQ1MTgwODQxfQ.3BgzpT6wSY0bge7gZLXwwE5dX7u0Y-qUCfPBcc5XXsw"
}