v1

latestOpenAPI 3.1.02026-07-24820248.4 KB

Asociar un Payment Method a una Subscription

post/subscriptions/associate/payment-method

Request body

id_subscriptionstring required
id_payment_methodstring
clabestring

Opcionalmente se puede utilizar una clabe para buscar el Payment Method

tokenstring

Opcionalmente se puede utilizar un external_id para buscar el Payment Method

Response

200

messagestring
id_payment_methodstring
id_subscriptionstring

Example response

{
  "message": "Associated subscription with payment method",
  "id_payment_method": "pm_example_payment_method",
  "id_subscription": "sub_example_subscription"
}