WhatsApp Payments

Process Payment Refund

Use this API to initiate a refund for a completed transaction through supported payment gateways such as RazorPay.

post/v2/payments/refund/payments_refund

Parameters

#/paths/~1v2~1payments~1configuration/post/parameters/0 — unresolved $ref

Request body

reference_idstring required

Unique identifier for the refund request.

speed'normal' | 'instant' required

Determines refund processing speed.

payment_config_idstring required

Unique ID of the payment configuration used for the refund.

Example request

{
  "reference_id": "100",
  "speed": "normal",
  "payment_config_id": "vishal_test_10_10",
  "amount": {
    "currency": "INR",
    "value": 100,
    "offset": 100
  }
}

Response

Refund initiated successfully

statusstring required

Status of the API call.

messagestring required

Description of the response result.

Changes

No recorded changes to this endpoint across all 1 revision of this API.