Skip to main content
POST
/
subscription
/
merchant
/
unpause
cURL
curl --request POST \
  --url https://api.xpaycheckout.com/subscription/merchant/unpause \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscriptionId": "sub_fooBOwYsaK50AEfK",
  "newNextPaymentDate": 1729608043615
}
'
{
  "errorCode": "bad_request",
  "errorDescription": "Failed to read request"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Unpause Subscription

subscriptionId
string
required

Unique identifier of the subscription

Example:

"sub_fooBOwYsaK50AEfK"

newNextPaymentDate
integer<int64>
required

The date on which the subscription becomes active again and the next charge will be attempted, as a Unix timestamp in milliseconds.

Example:

1729608043615

Response

Unpause Subscription response