Update Payment Data
/rpy/be-subscription/v1/subscriptions/{subscription_id}/paymentType/credit/card__Update Subscription Payment Data__<br> <br>This endpoint allows merchants to update the payment method of an existing subscription, specifically switching to a new or updated credit card.<br> <br>**Usage Scenarios:**<br>_- Updating the credit card for an active subscription.<br>- Replacing an expired or invalid card.<br>- Switching to a different card brand or issuer for billing._<br> <br>**Notes:**<br>_- The new card information must be tokenized and provided securely.<br>- This update applies to all future billing cycles of the subscription.<br>- Ensure that the subscription is active before using this operation._
Header Parameters
User who is registering. This information can be used for audit purposes.
Path Parameters
Recurrence signature identifier.
Body application/json
Tokenized card number.
Buyer's name printed on card. Required if card details were not permanently stored with the token.
Flag. (Also used in anti-fraud). Required if card details were not permanently stored with the token.
Two-digit card expiry month. Required if card details were not permanently stored with the token.
Two-digit card expiry year. Required if card details were not permanently stored with the token.
First six numbers of the card.
Response
Data updated successfully.
Invalid Requisition
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Signature not found.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Unprocessable Entity
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.