DELETE
/
v1
/
businesses
/
{businessId}
/
invoices
/
refunds
/
{refundId}
/
payments
/
{paymentId}
Delete refund payment
curl --request DELETE \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/invoices/refunds/{refundId}/payments/{paymentId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "{}"
}

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
required

The UUID of the business to delete refund payment for.

refundId
string
required

The UUID of the refund to delete payment for.

paymentId
string
required

The UUID of the payment to delete.

Response

200 - application/json

Refund payment successfully deleted.

The response is of type object.