Create Unreferenced Refund
This request allows you to create an unreferenced refund — a credit pushed directly to a payment method without referencing an original payment transaction.
When to use Unreferenced Refunds
Use this endpoint when the original charge was processed outside WHITELABEL (legacy billing system, external subscription engine) or when you need to send a goodwill / promotional credit. For reversing a WHITELABEL-captured payment, use Refund Payment endpoint with transaction instead.
Provider raw data
The provider object carries the untouched provider exchange in two fields. The shape of both is defined by the provider, not by WHITELABEL, so it varies per provider and per operation.
| Field | Content | Availability |
|---|---|---|
raw_request | The exact payload WHITELABEL sent to the provider. | Accounts enabled for provider raw data. Contact your WHITELABEL account manager to request access. Otherwise omitted. |
raw_response | The full payload the provider returned. | Not returned on this endpoint. Retrieve it with Retrieve Unreferenced Refund by ID using include_raw_responses=true. |
raw_response_code and raw_response_message are summaries of the provider’s answer and are always returned, independently of both fields above.
The unique public API key for your account. You find this on the WHITELABEL dashboard.
The unique private secret key for your account. You find this on the WHITELABEL dashboard.
Unique UUID v4 identifier used to safely retry the request. Retries with the same key return the originally created refund.
The unique identifier of the account. You find this information on the WHITELABEL dashboard (UUID, 36 chars).
The unique identifier of your internal credit/refund (MAX 255; MIN 3).
Optional correlation ID. Defaults to merchant_order_id (MAX 255; MIN 3).
The description of the refund. Appears on dashboards and statements (MAX 255; MIN 3).
Country where the refund must be processed (MAX 2; MIN 2; ISO 3166-1). Drives provider routing.
Specifies the refund amount object, with the value and currency.
Pins the refund to a specific gateway, bypassing routing rules. Useful when the destination provider is dictated by where the original payment was processed.
Specifies the destination of the refund — vaulted token, raw card, bank transfer, or wallet. Exactly one of vaulted_token or detail.<card|wallet|bank_transfer> must be set.
Specifies the recipient of the refund. Required for ACH, SEPA, and PayPal destinations to satisfy OFAC and AML screening.
Optional list of key/value pairs for your own reference. Echoed back in the response and webhook payload.
HTTPS URL where WHITELABEL will deliver webhook events for this refund. Falls back to your account-level webhook if omitted.
When stand_alone: true, WHITELABEL runs an ML fraud check before submitting to the provider. Recommended for raw-card refunds.
{
"account_id": "9f6e0a4c-1d2b-4e3f-8a9b-1c2d3e4f5a6b",
"merchant_order_id": "REFUND-2026-05-14-001",
"merchant_reference": "credit-note-7891",
"description": "Subscription correction — duplicate charge",
"country": "US",
"amount": {
"value": 25.00,
"currency": "USD"
},
"provider_data": {
"id": "STRIPE",
"connection_id": "8821cf99-89a5-4ecb-aba9-149cb08624fa"
},
"payment_method": {
"vaulted_token": "550e8400-e29b-41d4-a716-446655440000"
},
"customer_payer": {
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"merchant_customer_id": "cust_4521",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com"
},
"metadata": [
{ "key": "billing_cycle_id", "value": "bc_2026_05" },
{ "key": "support_ticket", "value": "ZD-99214" }
],
"callback_url": "https://merchant.example.com/whitelabel/webhooks/refunds"
}{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"account_id": "9f6e0a4c-1d2b-4e3f-8a9b-1c2d3e4f5a6b",
"merchant_order_id": "REFUND-2026-05-14-001",
"merchant_reference": "credit-note-7891",
"country": "US",
"description": "Subscription correction — duplicate charge",
"amount": {
"value": 25.00,
"currency": "USD"
},
"status": "CREATED",
"sub_status": "CREATED",
"payment_method": {
"vaulted_token": "550e8400-e29b-41d4-a716-446655440000",
"detail": {
"card": {
"card_data": {
"brand": "VISA",
"last_four": "1111",
"type": "CREDIT"
}
}
}
},
"customer_payer": {
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"merchant_customer_id": "cust_4521",
"first_name": "John",
"last_name": "Doe"
},
"provider": {
"name": "STRIPE",
"type": "PSP",
"connection_id": "6ba7b811-9dad-11d1-80b4-00c04fd430c8",
"reference": "re_3OqQz92eZvKYlo2C0g6XK1Yj",
"category": "APPROVED",
"raw_response_code": "succeeded",
"raw_request": {
"amount": 2500,
"currency": "usd",
"payment_method": "pm_1OqQz92eZvKYlo2C7Kx9Vbnm",
"metadata": { "merchant_order_id": "REFUND-2026-05-14-001" }
}
},
"metadata": [
{ "key": "billing_cycle_id", "value": "bc_2026_05" }
],
"created_at": "2026-05-14T11:47:13.482Z",
"updated_at": "2026-05-14T11:47:13.482Z"
}{
"code": "VALIDATION_ERROR",
"messages": [
"One or more fields did not pass validation."
]
}{
"code": "UNREFERENCED_REFUND_NOT_SUPPORTED",
"messages": [
"No provider supports this payment method for non-referenced refunds."
]
}