Create end-user decline
documentedCreate a decline for an end user.
POST /v1/end_users/{id}/declinesDeclinesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.wootric.com/v1/end_users/{{$end_user_id}}/declines" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"origin_url": "{{$origin_url}}", "created_at": {{$created_at}}, "end_user": { "properties": { "persona": "{{$persona}}", "pricing_plan": "{{$pricing_plan}}", "product_plan": "{{$product_plan}}", "purchase_date": {{$purchase_date}} } } }'