post
https://api.sandbox.bvnk.com/api/v1/quote
Creates a quote to convert currency between wallets.
For wallet-to-wallet payment quotes, the payment processing is synchronous. You can expect the following statuses in the response:
| When | quoteStatus | paymentStatus |
|---|---|---|
| Successful payment | ||
| Getting an estimate | ESTIMATE | PENDING |
| Creating a quote | PENDING | PENDING |
| Accepting the quote | PAYMENT_OUT_PROCESSED | SUCCESS |
| Failed payment | ||
| Pay-in fails | PAYMENT_IN_FAILED | FAILED |
| Conversion fails | CONVERSION_FAILED | FAILED |
| Pay-out fails | PAYMENT_OUT_FAILED | FAILED |
If you don't receive "paymentStatus": "SUCCESS" in the response, you can call /api/v1/quote/{uuid} to check the conversion progress.