Skip to main content
POST
Create a Quote
Legacy endpoint. This is part of the legacy withdrawal flow and will be deprecated. An upcoming Transactions Intent API will replace it. Avoid building new integrations against this endpoint — contact your Solutions Engineer for migration guidance.

Authorizations

X-Meridian-Signature
string
header
required

Meridian HMAC header authentication.

Required headers:

  • X-Meridian-Api-Key
  • X-Meridian-Timestamp
  • X-Meridian-Signature

X-Meridian-Signature is the HMAC SHA-256 signature of the canonical request string, computed per request as HMAC-SHA256(apiKey + timestamp + method + path + body). See Authentication for how to construct it.

Headers

X-Meridian-Api-Key
string
required

API key issued by Meridian during provisioning.

X-Meridian-Timestamp
string
required

Current time in milliseconds since the Unix epoch. Must be within 10 seconds of the request.

Path Parameters

userId
string
required

ID of the user the quote is created for

Body

application/json

Details of the quote to be created

amount
string
required

Amount to convert, expressed in the source currency

Example:

"50"

fromCurrency
string
required

ISO 4217 currency code to convert from (for example, USD)

Example:

"USD"

toCurrency
string
required

ISO 4217 currency code to convert to (for example, PHP)

Example:

"PHP"

Response

Quote created successfully

quote
QuoteDto · object
required