curl --request GET \
--url https://api.circle.com/v1/cpn/quotes/{quoteId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"paymentMethodType": "SPEI",
"blockchain": "ETH-SEPOLIA",
"senderCountry": "MX",
"destinationCountry": "MX",
"createDate": "2023-01-01T12:04:05Z",
"quoteExpireDate": "2023-01-01T12:04:05Z",
"cryptoFundsSettlementExpireDate": "2023-01-01T12:04:05Z",
"sourceAmount": {
"amount": "10.000000",
"currency": "USDC"
},
"destinationAmount": {
"amount": "183.24",
"currency": "MXN"
},
"fiatSettlementTime": {
"max": "3",
"min": "1",
"unit": "DAYS"
},
"exchangeRate": {
"pair": "USDC/MXN",
"rate": "18.324000"
},
"fees": {
"breakdown": [
{
"type": "BFI_TRANSACTION_FEE",
"amount": {
"amount": "0.240000",
"currency": "USDC"
}
}
],
"totalAmount": {
"amount": "0.240000",
"currency": "USDC"
}
},
"senderType": "BUSINESS",
"recipientType": "BUSINESS",
"certificate": {
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"certPem": "LS0tLS1CRUdJT...",
"domain": "api.circle.com",
"jwk": {
"crv": "P-256",
"kid": "263521881931753643998528753619816524468853605762",
"kty": "EC",
"x": "KnxBe8fb2mL_Ve9-tqjGSkGgE9f0yohMkAvH_InaFtE",
"y": "D41cVUpiKcey4LJKNFtUtmVHDWRmhjZapPLfryX5b1o"
}
},
"quoteOptions": {
"isFirstParty": true
}
}
}Retrieve details of a specific quote (e.g., re-check expiration, fees).
curl --request GET \
--url https://api.circle.com/v1/cpn/quotes/{quoteId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"paymentMethodType": "SPEI",
"blockchain": "ETH-SEPOLIA",
"senderCountry": "MX",
"destinationCountry": "MX",
"createDate": "2023-01-01T12:04:05Z",
"quoteExpireDate": "2023-01-01T12:04:05Z",
"cryptoFundsSettlementExpireDate": "2023-01-01T12:04:05Z",
"sourceAmount": {
"amount": "10.000000",
"currency": "USDC"
},
"destinationAmount": {
"amount": "183.24",
"currency": "MXN"
},
"fiatSettlementTime": {
"max": "3",
"min": "1",
"unit": "DAYS"
},
"exchangeRate": {
"pair": "USDC/MXN",
"rate": "18.324000"
},
"fees": {
"breakdown": [
{
"type": "BFI_TRANSACTION_FEE",
"amount": {
"amount": "0.240000",
"currency": "USDC"
}
}
],
"totalAmount": {
"amount": "0.240000",
"currency": "USDC"
}
},
"senderType": "BUSINESS",
"recipientType": "BUSINESS",
"certificate": {
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"certPem": "LS0tLS1CRUdJT...",
"domain": "api.circle.com",
"jwk": {
"crv": "P-256",
"kid": "263521881931753643998528753619816524468853605762",
"kty": "EC",
"x": "KnxBe8fb2mL_Ve9-tqjGSkGgE9f0yohMkAvH_InaFtE",
"y": "D41cVUpiKcey4LJKNFtUtmVHDWRmhjZapPLfryX5b1o"
}
},
"quoteOptions": {
"isFirstParty": true
}
}
}Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.
The quote id that was created previously. System-generated unique identifier of the resource.
"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
The quote retrieved successfully.
A quote containing all the necessary information for a cryptocurrency payment transaction, including source and destination amounts, fees, exchange rates, and relevant timing information.
Show child attributes
System-generated unique identifier of the resource.
"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
The method used for the payment (e.g., PIX, WIRE, CHATS)
AANI, BANK-TRANSFER, CHATS, CIPS, FAST, FPS, FTS, IMPS, INSTA-PAY, NEFT, NEQUI, PESONET, PIX, RTGS, SEPA, SPEI, WIRE "SPEI"
Supported blockchain networks
SOL, MATIC, ETH, SOL-DEVNET, MATIC-AMOY, ETH-SEPOLIA "ETH-SEPOLIA"
ISO 3166-1 alpha-2 two-letter country code supported by the Circle Payment Network
AT, BE, BG, BR, CH, CN, CO, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HK, HR, HU, IE, IN, IT, LI, LT, LU, MT, MX, NG, NL, NO, PL, PT, RO, SE, SI, SK, US "MX"
ISO 3166-1 alpha-2 two-letter country code supported by the Circle Payment Network
AT, BE, BG, BR, CH, CN, CO, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HK, HR, HU, IE, IN, IT, LI, LT, LU, MT, MX, NG, NL, NO, PL, PT, RO, SE, SI, SK, US "MX"
Date and time when the resource was created
"2023-01-01T12:04:05Z"
Date and time when the resource expires
"2023-01-01T12:04:05Z"
Date and time when the resource expires
"2023-01-01T12:04:05Z"
Represents an amount of cryptocurrency, including both the numerical amount and the specific cryptocurrency type.
{ "amount": "10.000000", "currency": "USDC" }Represents an amount of money in a specific fiat currency, including both the numerical amount and the currency type.
{ "amount": "183.24", "currency": "MXN" }Estimated time range for when funds will arrive at their destination after a transfer is initiated. The time varies depending on the fiat payment method used (e.g., ACH, SEPA, Wire). The time is represented as a range with minimum and maximum values in the specified unit.
A collection of fees associated with a payment transaction, including both individual fee breakdowns and the total amount.
Show child attributes
Detailed breakdown of individual fees that make up the total payment fees.
Show child attributes
Represents an amount of cryptocurrency, including both the numerical amount and the specific cryptocurrency type.
{
"amount": "110.270000",
"currency": "USDC"
}The type of fee being charged for the transaction.
TAX_FEE, BFI_TRANSACTION_FEE "BFI_TRANSACTION_FEE"
Represents an amount of cryptocurrency, including both the numerical amount and the specific cryptocurrency type.
{
"amount": "110.270000",
"currency": "USDC"
}{
"breakdown": [
{
"type": "BFI_TRANSACTION_FEE",
"amount": { "amount": "0.240000", "currency": "USDC" }
}
],
"totalAmount": { "amount": "0.240000", "currency": "USDC" }
}Type of entity sending or receiving the payment
BUSINESS, INDIVIDUAL "BUSINESS"
Type of entity sending or receiving the payment
BUSINESS, INDIVIDUAL "BUSINESS"
Show child attributes
System-generated unique identifier of the resource.
"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
Base64 encoded certificate in PEM format
"LS0tLS1CRUdJT..."
BFI domain which is available in the CommonName attribute of the cert
"api.circle.com"
The public key for the BFI defined in RFC 7517
Show child attributes
The curve used for the EC key
"P-256"
Key ID
"263521881931753643998528753619816524468853605762"
Key type
"EC"
X coordinate for the EC public key
"KnxBe8fb2mL_Ve9-tqjGSkGgE9f0yohMkAvH_InaFtE"
Y coordinate for the EC public key
"D41cVUpiKcey4LJKNFtUtmVHDWRmhjZapPLfryX5b1o"
Was this page helpful?