create_refund: Create Refund

Description Usage Arguments

Description

This creates a refund which is then processed by the Paystack team

Usage

1
create_refund(authorization, ...)

Arguments

authorization

set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY"

...

Body Params

transaction

string. REQUIRED Transaction reference or id

amount

int32. How much in kobo to be refunded to the customer. Amount is optional(defaults to original transaction amount) and cannot be more than the original transaction amount.

currency

string. Three-letter ISO currency

customer_note

string. Customer reason

merchant_note

string. Merchant reason


ebinabo/paystack documentation built on May 16, 2019, 8:16 p.m.