v1

latestOpenAPI 3.1.02026-07-2413059.7 KB

Update Payment Method

The Update Payment Method API allows you to change the payment method for recurring subscriptions.

post/update-payment-method

Request body

api_secretstring required

This is the credential that Vendo will use to authenticate your request

is_testinteger required

Set to 1 if you want to process a test transaction.

merchant_idinteger required

Your Vendo Merchant ID.

subscription_idinteger required

The Vendo Subscription ID you want to update

Response

200

OR

Example response

{
  "status": 1,
  "subscription": {
    "id": 240123482
  },
  "request_id": "XoMgrUtN4CXZnJrJ2sRT5wAAAMc"
}