Skip to main content
DELETE
/
v1
/
businesses
/
{businessId}
/
bills
/
refunds
/
{refundId}
Delete vendor refund
curl --request DELETE \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/bills/refunds/{refundId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "{}"
}

Rate Limiting

This endpoint has a custom rate limit policy. Rate Limit Details:
EnvironmentLimitRefill PeriodInitial Size
Sandbox20 requests1 second40 requests
Production20 requests1 second40 requests
Response Headers: All responses include the following rate limit headers:
  • X-RateLimit-Limit: The rate limit bucket capacity
  • X-RateLimit-Remaining: The number of tokens remaining in the bucket
  • X-RateLimit-Reset: UTC timestamp (in seconds) when the bucket will be refilled
For more details on rate limiting, see Rate Limiting.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string<uuid>
required

The UUID of the business to delete vendor refund for.

refundId
string<uuid>
required

The UUID of the vendor refund to delete.

Response

Vendor refund successfully deleted.

type
string

Resource type. Value will be 'com.layerfi.controllers.EmptyResponse'.

Example:

"{}"