v1

latestOpenAPI 3.1.02026-08-04490133.8 KB

Create Payout Quotation - Momo & Bank

post/payouts/quotation

Request body

sourceWalletstring required

Source wallet currency from Get Wallets

amountinteger required

Source amount to pay

typestring required

Options are momo and bank. Call Get Delivery Countries to get a list of payment types per country

destinationCountrystring required

Destination country ALPHA-2 code e.g NG for Nigeria

destinationCurrencystring required

Destination currency

amountType'SOURCE' | 'DESTINATION'

DESTINATION or SOURCE - DESTINATION means if we should calculate using destination currency, SOURCE means if we should calculate using source currency

reasonstring

Optional field, Write short text on the reason for the transaction not more than 40 words

Response

200

codeinteger
successboolean

Example response

{
  "code": 200,
  "data": {
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJxdW90YXRpb24iOnsic291cmNlQ291bnRyeSI6IlVHIiwic291cmNlQ3VycmVuY3kiOiJVR1giLCJzb3VyY2VBbW91bnQiOiI3MDAiLCJkZXN0aW5hdGlvbkNvdW50cnkiOiJLRSIsImRlc3RpbmF0aW9uQ3VycmVuY3kiOiJLRVMiLCJkZXN0aW5hdGlvbkFtb3VudCI6IjIxLjcxIiwiZXhjaGFuZ2VSYXRlIjoiMC4wMzEwMDcyMDE5ODEzNjciLCJ0b3RhbEZlZXMiOiIyNTAwIiwidG90YWxBbW91bnQiOiIzMjAwLjAwIiwidHlwZSI6Im1vbW8iLCJhbW91bnRUeXBlIjoiU09VUkNFIiwiYW1vdW50IjoiNzAwIn0sImlhdCI6MTY2MTg4Mzc1NywiZXhwIjoxNjYxODg1NTU3fQ.7Q4RweZ2Osf9YwlXfqvv_FzKM9ob-AjlCtINj17cPEI",
    "quotation": {
      "sourceCountry": "UG",
      "sourceCurrency": "UGX",
      "sourceAmount": "1000",
      "destinationCountry": "NG",
      "destinationCurrency": "NGN",
      "destinationAmount": "21.71",
      "exchangeRate": "0.031007201981367",
      "totalFees": "2500",
      "totalAmount": "3200.00",
      "type": "momo",
      "amountType": "SOURCE",
      "amount": "1000"
    }
  },
  "success": true
}