SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Payouts

Confirm payout

POST/api/v1/pawapay/payouts/confirm

Second step — submits the verification code and, if correct, actually sends the payout to PawaPay.

Requires Authorization
ADMIN only
Payout confirm

Body parameters

pendingIdstringrequired
From POST /payouts/request-approval.
codestringrequired
The verification code from the email.

Possible errors

401UNAUTHORIZEDCode de vérification invalide.
429TOO_MANY_REQUESTSTrop de tentatives de vérification invalides. Veuillez patienter avant de réessayer.

Notes

  • Only one confirm can run at a time per admin — a second concurrent attempt is rejected rather than queued.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/pawapay/payouts/confirm \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pendingId": "<pendingId>",
  "code": "482913"
}'
201Example response
{
  "success": true,
  "data": {
    "payoutId": "pay_5e6f7a8b",
    "status": "ACCEPTED",
    "amount": "50.00",
    "currency": "USD",
    "recipient": {
      "type": "MMO",
      "accountDetails": {
        "phoneNumber": "243812345678",
        "provider": "MTN_MOMO_COD"
      }
    }
  }
}