InvoicesPayments and statements

Revoke a payment receipt link

DELETE
/v1/payments/{id}/share

The public receipt stops working at once. A payment with no link also answers 204: there is nothing to revoke.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

id*string

Response Body

Revoked, or there was nothing to revoke

curl -X DELETE "https://example.com/v1/payments/pmt_01K6XJ4Q8ZT3M9R5V2B7WDHNCA/share"
Empty