cURL
curl --request POST \ --url https://staging.api.mavapay.co/api/v1/wallet/payout/{quoteId}/accept \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "sourceWallet": "NGN" } '
{ "status": "success", "message": "quote is being processed" }
Accept a quote to perform an internal currency swap
The ID of the quote to accept
The source wallet currency (e.g., 'NGN')
"NGN"
Successful swap
"success"
"quote is being processed"