Skip to main content
GET
/
v1
/
quote
/
{quoteId}
Get Quote Details
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://sandboxapi.me-cash.com/v1/quote/{quoteId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "message": "quote successfully fetched",
  "status": "success",
  "data": {
    "id": "e5eec724-38f9-40e2-9i86-xxxxxxxxxxxxx",
    "source": {
      "currency": "NGN",
      "country": "NG",
      "amount": 150000
    },
    "target": {
      "currency": "USD",
      "country": "US",
      "amount": 81.97
    },
    "rate": 1830,
    "fee": {
      "amount": 0
    },
    "rules": [
      {
        "category": "LIMIT",
        "appliedCurrency": "USD",
        "appliedCountry": "US",
        "transaction": {
          "minimum": 1,
          "maximum": 20000000000000
        },
        "invoice": 200000000000
      }
    ],
    "summary": {
      "total": 150000
    },
    "settlementTime": "1 hr",
    "quoteCurrency": "USD",
    "expiresInSeconds": 600
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

quoteId
string<uuid>
required

The unique identifier of the quote.

Response

Quote details retrieved successfully.

message
string
Example:

"quote successfully fetched"

status
string
Example:

"success"

data
object