This creates a refund which is then processed by the Paystack team
1 | create_refund(authorization, ...)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.