Community Discussions
Quote not found error
over 2 years ago by Kingsley
What might be the reason for this, after creating a quote and passing the exact reference to payout I am getting the error message
data: {
success: false,
error: 'Quote not found. Kindly do a re-quote to continue.',
errorType: 'RESOURCE_NOT_FOUND',
errors: 'Quote not found. Kindly do a re-quote to continue.'
}
Quote payload
{"action":"send",
"transactionType":"disbursement",
"feeBearer":"business",
"sourceCurrency":"NGN",
"destinationCurrency":"GHS",
"business":"627************11fc",
"amount":2,
"paymentDestination":"mobile_money_wallet",
"beneficiaryType":"individual"}
response
data: {
success: true,
message: 'Quote generated successfully',
data: {
sourceCurrency: 'NGN',
destinationCurrency: 'GHS',
sourceAmount: 2,
destinationAmount: 0.024600246002460024,
action: 'send',
transactionType: 'disbursement',
fee: 0.0004920049200492005,
initialAmount: 2,
quotedAmount: 0.024600246002460024,
rate: 0.012300123001230012,
amountToCharge: 2.04,
amountToReceive: 0.02,
reference: 'd4598121-a747-4b6e-95a1-2bc6ee731de6',
expireAt: '2022-08-04T21:56:00.747Z'
}
}
}
````
Payout payload
````
{"business":"627c*******1fc",
"sourceCurrency":"NGN",
"destinationCurrency":"GHS",
"amount":"2",
"description":"supplies",
"paymentDestination":"mobile_money_wallet",
"beneficiary":{"firstName":"John",
"lastName":"Joe",
"accountHolderName":"John Doe",
"country":"GH",
"accountNumber":"+23324536259",
"type":"individual",
"mobileMoneyCode":"MTN"},
"quoteReference":"d4598121-a747-4b6e-95a1-2bc6ee731de6"}
````