Reverse a completed transaction
POST/v1/transactions/:id/reverse
Sends the money of a completed M-Pesa deposit or payout back through Safaricom. The reversal is created pending and completes when Safaricom confirms - poll GET /transactions/{id} on the returned transaction. Only M-Pesa transactions can be reversed this way. Requires a company Bearer access token.
Request
Responses
- 201