Create Refund
Refunds a completed deposit back through the provider it was made with, full or partial. The customer's wallet is debited — if the balance is insufficient the refund fails rather than going negative.
Body
customerId
*StringCustomer ID whose deposit to refund.
reference
*StringReference of the original completed deposit (cdep_…).
amount
NumberAmount to refund in major units. Omit to refund the full remaining un-refunded amount.
reason
StringOptional reason for the refund.
POST
/ v2/wallet/refunds
Endpoint URL(TEXT)
Request Body
Response(JSON)
// Click 'Try now' to see the response