Skip to content
Website API / Payments

Delete a payment

DELETEhttps://<your Reveata origin>/api/v1/websites/{website}/payments/{transactionId}

Deletes a payment you sent through the API (for example a test payment).

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

transactionIdstringrequired

1–200 characters

Headers

Authorizationstringrequired

Bearer followed by a site key, an account token or an OAuth access token with the payments:write scope.

Response

Deleted.

{
  "status": "string",
  "data": {
    "deleted": "string",
    "transactionId": "string"
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.deletedtrue
data.transactionIdstring