cURL
curl --request POST \ --url https://api-v2.missioninbox.com/billing/create_yearly_subscription/ \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "payment_method_id": "<string>" } '
{ "subscription_id": "<string>", "status": "<string>", "current_period_end": 123, "subscription_items": 123, "user_type": "<string>", "proration_details": {} }
Create yearly subscription with special handling and proration details.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Stripe payment method ID
Show child attributes