over usage payment Developing
Run in Apidog
Pay Over Usage Payment of a Subscription for Organization# 📣 This Endpoint create a subscription package for organization. In this POST request Plan Method ID has to be provided in the url and In the response you will get a confirmation of payment if it's successful {
"payment_method_id" : "pm_1PXHIqIkSeCp7envQi6i7OIX"
}
🔰 Each payload in details of this POST Request, payment_method_id
: a string field for the payment method id (e.g. pm_1PXHIqIkSeCp7envQi6i7OIX)
📢 Info message : Here the POST request enpoint is constructed like /organization/subscribe/payment-methods/stripe/over-usage-pay
Request Provide your bearer token in the Authorization
header when making requests to protected resources. Example: Authorization: Bearer ********************
Body Params application/json
a string field for the payment method id (e.g. pm_1PXHIqIkSeCp7envQi6i7OIX)
{
"payment_method_id" : "pm_1PVA84IkSeCp7envd4CSY9RM"
}
Request samples curl --location --request POST 'http://localhost:8080/v1/organization/subscribe/payment-methods/stripe/over-usage-pay' \
--header 'Content-Type: application/json' \
--data-raw '{
"payment_method_id" : "pm_1PVA84IkSeCp7envd4CSY9RM"
}'
Responses application/json Generate Code
Modified at 2024-08-07 09:57:57