Delete a payment
Deletes a payment you sent through the API (for example a test payment).
Related: Send a payment and Send a payment (website in body) in Payments.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
transactionIdstringrequired1–200 characters
Headers
AuthorizationstringrequiredBearer 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
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.deleted | true | |
| data.transactionId | string |