Paycose Docs
Internal (Ops)
POST/test-clocks/{test_clock_id}/attach-subscription

Test Clock — Attach Subscription

Internal ops app (port 5002, no api_version, guarded by the internal token header).

Request

Example

curl -X POST '{{internal_base_url}}/test-clocks/{{test_clock_id}}/attach-subscription' \
  -H 'Content-Type: application/json' \
  -d '{
  "subscription_id": "{{subscription_id}}"
}'

Headers

NameValue
Content-Typeapplication/json

Body

NameTypeValue
subscription_idstring{{subscription_id}}
{
  "subscription_id": "{{subscription_id}}"
}

Responses

400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "error": null
}

On this page