Skip to main content

Payment Docs

curl -X GET "http://localhost:3000/organizations/{client_id}/subscription-payments/{payment_id}" \
-H "Content-Type: application/json"
curl -X POST "http://localhost:3000/organizations/{client_id}/subscription-payments" \
-H "Content-Type: application/json" \
-d '{
"subscription_id": "sub_123456789",
"amount": 99.99,
"currency": "USD",
"external_payment_id": "ext_pay_987654321",
"status": "completed"
}'
curl -X PUT "http://localhost:3000/organizations/{client_id}/subscription-payments/{payment_id}" \
-H "Content-Type: application/json" \
-d '{
"subscription_id": "8663c4c2-914b-4fed-b5f3-af9bd17b884d",
"amount": 99.99,
"currency": "USD",
"external_payment_id": "ext_pay_987654321",
"status": "completed"
}'
curl -X DELETE "http://localhost:3000/organizations/{client_id}/subscription-payments/{payment_id}" \
-H "Content-Type: application/json"