Skip to main content
POST
/
v1
/
platform
/
businesses
/
{business_id}
/
vendor-refunds
/
payments
/
{vendor_refund_payment_id}
/
delete
Delete (cancel) vendor refund payment
curl --request POST \
  --url https://sandbox.thredfi.com/v1/platform/businesses/{business_id}/vendor-refunds/payments/{vendor_refund_payment_id}/delete/ \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "refund_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Business-scoped JWT token. Token payload includes business_id to automatically scope requests. Format: Bearer <your-jwt-token>

Use this for: Business-specific operations where the business context is embedded in the token.

Path Parameters

business_id
string<uuid>
required

Business UUID

vendor_refund_payment_id
string<uuid>
required

Vendor Refund Payment UUID

Response

Response serializer for vendor refund payment cancellation.

message
string
required

Status message describing the cancellation result

payment_id
string<uuid>
required

UUID of the cancelled vendor refund payment

refund_id
string<uuid>
required

UUID of the associated vendor refund

status
string
required

Updated status of the vendor refund payment

updated_at
string<date-time>
required

Timestamp of the last payment update