Change payment method
Changed onThis endpoint allows you to change the payment method linked to the subscription for future billing attempts.
put/2026-04/subscription/{subscriptionId}/paymentMethod
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/paymentMethod
- AuthAPI key in header Authorization
Path parameters
subscriptionIdinteger required
The unique identifier for a subscription in Loop.
Request body
Response
Payment method has been changed in the subscription
Example response
{
"success": true,
"message": "Payment method edited on contract successfully",
"data": {
"id": 131,
"type": "CustomerCreditCard",
"status": "expiring_soon",
"card": {
"brand": "visa",
"expiryYear": 23,
"expiryMonth": 12,
"lastDigits": "3184"
},
"subscription": {
"id": 2130
}
},
"code": "SUCCESS"
}Changes
- info
endpoint added
- info