post https://api.reepay.com/v1/subscription//pm
Set payment method for the subscription, either by an existing customer payment method ca_...
or a customer payment method obtained with Billwerk+Optimize Checkout.
Errors
The operation can generate the following errors beside the generic HTTP error codes described here.
Error code | HTTP code | Description |
---|---|---|
12 | 404 | Subscription not found |
40 | 404 | Payment method reference provided not found |
34 | 400 | Invalid card token provided as source |
103 | 400 | Card token already used |
104 | 400 | Card token has expired |
110 | 400 | Unknown or missing source argument |