Create Quote
Path parameters
customer_idstring · uuidRequired
The unique identifier of the customer
Header parameters
AuthorizationstringRequired
Token for authentication
Body
one ofOptional
Either source_amount OR destination_amount must be provided to calculate the quote in the desired direction
or
Responses
201
Quote created successfully
application/json
post
POST /v0/customers/{customer_id}/onramp-transfer/quote HTTP/1.1
Host: api.alignlabs.dev
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 166
{
"source_amount": "text",
"source_payment_rails": "ach",
"source_currency": "usd",
"destination_token": "usdc",
"destination_network": "polygon",
"developer_fee_percent": "0.5"
}
201
Quote created successfully
{
"quote_id": "123e4567-e89b-12d3-a456-426614174000",
"source_amount": "100.50",
"source_currency": "usd",
"source_payment_rails": "ach",
"destination_token": "usdc",
"destination_network": "polygon",
"destination_amount": "100.50",
"fee_amount": "10.50",
"exchange_rate": "text",
"expire_at": "2025-09-12T21:32:29.053Z"
}
Last updated