curl --request POST \
--url https://api.sandbox.services.payward.com/v1/accounts/{account_id}/quotes \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"from": {
"symbol": "USD",
"type": "fiat",
"amount": "100.00"
},
"to": {
"symbol": "ETH",
"type": "crypto"
}
}
'{
"data": {
"id": "BQ5U74K-XV6GP-TTQ567",
"status": "offered",
"expires_at": "2026-01-01T00:02:00Z",
"from": {
"symbol": "USD",
"type": "fiat",
"amount": "3209.00"
},
"to": {
"symbol": "ETH",
"type": "crypto",
"amount": "1"
},
"fees": {
"trade": {
"symbol": "USD",
"type": "fiat",
"amount": "9.00"
}
},
"rate": {
"base": {
"symbol": "ETH",
"type": "crypto"
},
"quote": {
"symbol": "USD",
"type": "fiat"
},
"price": "3200"
}
}
}Create quote
Creates an account-funded quote.
The quote must be executed before expires_at. Expired quotes cannot be used.
Set amount on exactly one of from or to; the other side is calculated when the quote is created.
curl --request POST \
--url https://api.sandbox.services.payward.com/v1/accounts/{account_id}/quotes \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"from": {
"symbol": "USD",
"type": "fiat",
"amount": "100.00"
},
"to": {
"symbol": "ETH",
"type": "crypto"
}
}
'{
"data": {
"id": "BQ5U74K-XV6GP-TTQ567",
"status": "offered",
"expires_at": "2026-01-01T00:02:00Z",
"from": {
"symbol": "USD",
"type": "fiat",
"amount": "3209.00"
},
"to": {
"symbol": "ETH",
"type": "crypto",
"amount": "1"
},
"fees": {
"trade": {
"symbol": "USD",
"type": "fiat",
"amount": "9.00"
}
},
"rate": {
"base": {
"symbol": "ETH",
"type": "crypto"
},
"quote": {
"symbol": "USD",
"type": "fiat"
},
"price": "3200"
}
}
}Authorizations
Your public API key. Identifies the partner making the request.
HMAC signature over the request, computed with your private key.
Monotonically increasing nonce included in the request signature.
Path Parameters
Globally unique public identifier for an account.
14 - 42Body
Source side of a quote request. Set amount here when the source amount is fixed.
Show child attributes
Show child attributes
Destination side of a quote request. Set amount here when the destination amount is fixed.
Show child attributes
Show child attributes
Optional partner fee applied to the quote.
Show child attributes
Show child attributes
Response
A priced swap quote. Execute it before expires_at.
Show child attributes
Show child attributes