A collection of endpoints for creating and managing transaction reimbursement
| Method |
HTTP |
Path |
Summary |
create |
POST |
/refund |
Create Refund |
fetch |
GET |
/refund/{id} |
Fetch Refund |
list |
GET |
/refund |
List Refunds |
retry_ |
POST |
/refund/retry_with_customer_details/{id} |
Retry Refund |
HTTP: POST
Path: /refund
paystack.refund.create({ ... })
| Name |
Required |
transaction |
true |
amount |
false |
currency |
false |
customer_note |
false |
merchant_note |
false |
HTTP: GET
Path: /refund/{id}
paystack.refund.fetch(id)
HTTP: GET
Path: /refund
paystack.refund.list({ ... })
| Name |
Required |
perPage |
false |
page |
false |
from |
false |
to |
false |
HTTP: POST
Path: /refund/retry_with_customer_details/{id}
paystack.refund.retry_(id, { ... })
| Name |
Required |
refund_account_details |
true |