POST

Void Membership Charge


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

This method requests that a membership charge be voided by your app.

Endpoint
POST
{DEPLOYMENT-URI}/v1/void-membership-charge
Body Params
transactionIdstringRequiredminLength 1maxLength 100

Transaction ID to void.

Response Object
Returns an empty object.
Void Membership Charge

Void previous membership charge

Request
cURL
curl -X POST \ 'https://provider.example.com/v1/void-membership-charge' \ -H 'user-agent: Wix' \ -H 'accept-encoding: gzip, deflate' \ -H 'content-type: text/plain; charset=utf-8' \ --data-binary '{ "transactionId": "a178aeb7-6687-4402-862f-411a8f899205" }'
Response
JSON
{}
Errors
TransactionNotFoundobjectstatus code: 404
TransactionCannotBeVoidedobjectstatus code: 428
TransactionAlreadyVoidedobjectstatus code: 409
Did this help?