Create a quote
Create a quote for a given currency
Request body
Example request
{
"amount": 1000,
"customerReference": "order-1234567890",
"beneficiary": {
"bankAccountNumber": "0149203789",
"bankAccountName": "olaolu olajide",
"bankCode": "000013",
"bankName": "GTBANK PLC"
}
}Response
Quote response
Example response
{
"status": "ok",
"data": {
"id": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"exchangeRate": 103830225.71866913,
"usdToTargetCurrencyRate": 1500.65,
"transactionFeesInSourceCurrency": 13.23,
"transactionFeesInTargetCurrency": "3750.00",
"amountInSourceCurrency": 1499,
"amountInTargetCurrency": "50000.00",
"expiry": "2021-07-01T12:00:00Z",
"isValid": true,
"invoice": "lntbs36020n1pnehfzcpp5zc8g9tfpwnmaevh62ak2vu6zjqyt5cpph3gjm4zfyqz9srjjdsaqdz5296k7ar98gsy6ctkvys9qcteyqmnyenr8yunswfdvyer2v3dx33kxe3dvymnsefdv5mnjcm9x5mrydm9vccqcqzpuxqzfvsp5utd7hdfmjp7vw3lc6hal8psqruwcnu89hxfukyzugxh40jhv8xcq9qxpqysgq2lry5dgzu2g04s74tpvctwe37rkprs3k579jw6yt7ncrsg62p29yalw8gf5fawfvpydqv4jjve0nsysfhsxa35dtwug9e6gzxkq0h5gp636wc3",
"hash": "189727ef2e0f35921af7858b96e27cbad960b0ec2bb2a4ab73b6a231f9ce8727",
"customerReference": "order-1234567890",
"totalAmountInSourceCurrency": 1499,
"createdAt": "2021-07-01T12:00:00Z",
"updatedAt": "2021-07-01T12:00:00Z",
"bankName": "WEMA BANK",
"ngnBankAccountNumber": "7824655568",
"ngnAccountName": "Mava Digital Solutions Limited",
"ngnBankCode": "000027",
"orderId": "43477-4306"
}
}Changes
Changed in 8 of the 32 revisions of this API.15447
- ○
added the new optional request property
beneficiary/oneOf[subschema #2: KES Beneficiary]/identifiers/networknew-optional-request-property
- ○
- ○
the
autopayoutrequest property default value changed fromtruetofalserequest-property-default-value-changed
- ○
- ▲
removed the enum value
KESCENTof the request propertysourceCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
ZARCENTof the request propertysourceCurrencyrequest-property-enum-value-removed
- ●
added the new
GHSPESEWAenum value to thedata/targetCurrencyresponse property for the response status200response-property-enum-value-added
- ○
added the new optional request property
beneficiary/oneOf[subschema #2: KES Beneficiary]/identifiers/accountNamenew-optional-request-property
- ○
added the new optional request property
beneficiary/oneOf[subschema #2: KES Beneficiary]/identifiers/tillNumbernew-optional-request-property
- ○
added the new optional request property
customerReferencenew-optional-request-property
- ○
added the new
GHSPESEWAenum value to the request propertypaymentCurrencyrequest-property-enum-value-added
- ○
added the new
GHSPESEWAenum value to the request propertytargetCurrencyrequest-property-enum-value-added
- ○
added the new
paytotillenum value to the request propertybeneficiary/oneOf[subschema #2: KES Beneficiary]/identifierTyperequest-property-enum-value-added
- ○
added
subschema #3: GHS Beneficiaryto thebeneficiaryrequest propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
data/customerReferenceto the response with the200statusresponse-optional-property-added
- ○
removed the
KESCENTenum value from thedata/sourceCurrencyresponse property for the response status200response-property-enum-value-removed
- ○
removed the
ZARCENTenum value from thedata/sourceCurrencyresponse property for the response status200response-property-enum-value-removed
- ▲
- ○
added the new
BANKTRANSFERenum value to the request propertypaymentMethodrequest-property-enum-value-added
- ○
added the new
BTCSATenum value to the request propertytargetCurrencyrequest-property-enum-value-added
- ○
added the new
KESCENTenum value to the request propertysourceCurrencyrequest-property-enum-value-added
- ○
added the new
NGNKOBOenum value to the request propertysourceCurrencyrequest-property-enum-value-added
- ○
added the new
ZARCENTenum value to the request propertysourceCurrencyrequest-property-enum-value-added
- ○
- ○
added the new
BTCSATenum value to the request propertypaymentCurrencyrequest-property-enum-value-added
- ○
added
subschema #4: BTC Beneficiaryto thebeneficiaryrequest propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
data/bankNameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/estimatedRoutingFeeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/ngnAccountNameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/ngnBankAccountNumberto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/ngnBankCodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/orderIdto the response with the200statusresponse-optional-property-added
- ○
- ▲
the request property
amountbecame requiredrequest-property-became-required
- ▲
the request property
paymentCurrencybecame requiredrequest-property-became-required
- ▲
removed the enum value
BTCof the request propertypaymentCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
BTCof the request propertysourceCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
BTCof the request propertytargetCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
KESof the request propertypaymentCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
KESof the request propertysourceCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
KESof the request propertytargetCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
NGNof the request propertypaymentCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
NGNof the request propertysourceCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
NGNof the request propertytargetCurrencyrequest-property-enum-value-removed
- ▲
removed the enum value
ONCHAINof the request propertypaymentMethodrequest-property-enum-value-removed
- ▲
removed the enum value
USDTof the request propertypaymentMethodrequest-property-enum-value-removed
- ●
removed the request property
implicitFeesrequest-property-removed
- ○
added the new optional request property
autopayoutnew-optional-request-property
- ○
added the new optional request property
beneficiarynew-optional-request-property
- ○
the request property
paymentMethodwith a default value became requiredrequest-property-became-required-with-default
- ○
the request property
sourceCurrencywith a default value became requiredrequest-property-became-required-with-default
- ○
the request property
targetCurrencywith a default value became requiredrequest-property-became-required-with-default
- ○
the
paymentMethodrequest property default valueLIGHTNINGwas addedrequest-property-default-value-added
- ○
the
sourceCurrencyrequest property default valueBTCSATwas addedrequest-property-default-value-added
- ○
the
targetCurrencyrequest property default valueNGNKOBOwas addedrequest-property-default-value-added
- ○
added the new
BTCSATenum value to the request propertysourceCurrencyrequest-property-enum-value-added
- ○
added the new
KESCENTenum value to the request propertypaymentCurrencyrequest-property-enum-value-added
- ○
added the new
KESCENTenum value to the request propertytargetCurrencyrequest-property-enum-value-added
- ○
added the new
NGNKOBOenum value to the request propertypaymentCurrencyrequest-property-enum-value-added
- ○
added the new
NGNKOBOenum value to the request propertytargetCurrencyrequest-property-enum-value-added
- ○
added the new
ZARCENTenum value to the request propertypaymentCurrencyrequest-property-enum-value-added
- ○
added the new
ZARCENTenum value to the request propertytargetCurrencyrequest-property-enum-value-added
- ▲
- ●
added the new
ZARCENTenum value to thedata/sourceCurrencyresponse property for the response status200response-property-enum-value-added
- ●
added the new
ZARCENTenum value to thedata/targetCurrencyresponse property for the response status200response-property-enum-value-added
- ○
added the optional property
data/customerInternalFeeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/hashto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/invoiceto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/totalAmountInSourceCurrencyto the response with the200statusresponse-optional-property-added
- ○
removed the
ONCHAINenum value from thedata/paymentMethodresponse property for the response status200response-property-enum-value-removed
- ○
removed the
USDTenum value from thedata/paymentMethodresponse property for the response status200response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
- ○