SwiftGoma.SwiftGoma

Search endpoints

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

Payout

Confirm payout

POST/api/v1/mbiyopay/payout/confirm

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

Requires Authorization
ADMIN only
Payout confirm

Body parameters

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

Possible errors

403MBIYOPAY_KYC_REQUIREDApprobation KYC requise pour les paiements sortants en production.
400MBIYOPAY_INSUFFICIENT_BALANCESolde MbiyoPay insuffisant pour ce paiement sortant.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/mbiyopay/payout/confirm \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pendingId": "<pendingId>",
  "code": "482913"
}'
201Example response
{
  "success": true,
  "data": {
    "orderId": "SWG-OUT-1a2b3c4d5e6f7890",
    "transactionId": "txn_9c8d7e6f",
    "status": "pending",
    "amount": 50,
    "currency": "USD",
    "network": "airtel",
    "countryCode": "CD",
    "beneficiary": "Aline Mapendo"
  }
}