v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Copy of Change payment method on subscription

Rate limit - 5/s

post/2023-10/subscription/{subscriptionId}/backupPaymentMethod

Path parameters

subscriptionIdinteger required

Id of the subscription

Request body

paymentMethodIdinteger required

Id of the backup payment method

Response

200

successboolean
messagestring
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/backupPaymentMethod:post:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
codestring
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/backupPaymentMethod:post:responses:200:content:application/json:schema:properties:pageInfo","oasType":"schema","type":"unknown"}

Example response

{
  "success": true,
  "message": "Payment method changed successfully",
  "code": "SUCCESS"
}