Refunds - Create

POST {{baseUrl}}/refunds

To create a refund againt an already processed payment

Request Body

{"payment_id"=>"{{payment_id}}", "amount"=>600, "reason"=>"Customer returned product", "refund_type"=>"instant", "metadata"=>{"udf1"=>"value1", "new_customer"=>"true", "login_date"=>"2019-09-10T10:11:12Z"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring