v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Billing

Update a PayPal Subscription

Used to verify that a subscription was created upon callback from PayPal SDK

patch/v1/billing/invoices/{invoice_id}/paypal_subscription

Path parameters

invoice_idinteger required

Request body

paypal_order_idstring required

ID of the order that is returned from PayPal SDK onApprove

paypal_subscription_idstring required

ID of the subscription that is returned from PayPal SDK onApprove

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "success": true
  }
}