Delete a Payment Request
Permanently deletes a Payment Request, making it unavailable for payments. A Payment Request can not be deleted if the status is paid
Authorizations
Authentication using Bearer tokens. Include your API key in the Authorization header.
Key Types:
- Test Keys:
sk_test_*for development and testing - Live Keys:
sk_*for production environments - Public Keys:
pk_test_*orpk_*for client-side operations
📩 Need access? Contact Support to request your API keys.
Usage:
Headers
Identifies the business unit the request applies to.
Required when the API key is linked to more than one business unit. When the key is linked to exactly one business unit the header may be omitted and that business unit is used.
Errors:
400 business_unit_missingwhen the header is absent and the key is linked to multiple business units400 business_unit_invalidwhen the value is not a valid business unit identifier403 business_unit_access_deniedwhen the value is well formed but the key is not linked to that business unit
^bu_[A-Za-z0-9_-]{21}$Path Parameters
Unique identifier for the Payment Request.
"pr_6phg74i4jG9wbzZbFDUQB"
Response
Payment Request deleted successfully

