Core Concepts
Transfer
Wallets and Vouchers
Account
Transaction and Asset Moves
Transfer
Accept Quote
Accepts a quote and initiates a transfer.
This endpoint allows accepting a previously obtained quote to initiate a transfer to the specified destination. The transfer will debit the source account and initiate the transfer to the destination according to the quote details.
POST
/
v1
/
service
/
transfer
/
quote
/
accept
curl --request POST \
--url https://api.nxos.io/v1/service/transfer/quote/accept \
--header 'Content-Type: application/json' \
--data '{
"quote_id": "<string>",
"provider": "<string>",
"value": {
"asset": "<string>",
"amount": "<string>"
},
"info": {},
"transaction": {
"transaction_ref": "<string>",
"asset_moves": [
{
"asset_move_ref": "<string>",
"source_account": {
"ref": "<string>",
"id": "<string>"
},
"destination_account": {
"ref": "<string>",
"id": "<string>"
},
"asset_code": "<string>",
"amount": "<string>",
"type": "<string>",
"categories": [
"<string>"
],
"metadata": {}
}
],
"metadata": {}
}
}'
{
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_ref": "<string>",
"asset_moves": [
{
"asset_move_ref": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_account": {
"ref": "<string>",
"id": "<string>"
},
"destination_account": {
"ref": "<string>",
"id": "<string>"
},
"asset_code": "<string>",
"amount": "<string>",
"status": "EXPECTED",
"type": "<string>",
"decline_type": "<string>",
"categories": [
"<string>"
],
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Body
application/json
The details for accepting the quote, including the quote ID and payment information.
Request model for accepting a quote and initiating a transfer.
Response
200 - application/json
The ledger transaction created as part of accepting the quote.
The response is of type object
.
curl --request POST \
--url https://api.nxos.io/v1/service/transfer/quote/accept \
--header 'Content-Type: application/json' \
--data '{
"quote_id": "<string>",
"provider": "<string>",
"value": {
"asset": "<string>",
"amount": "<string>"
},
"info": {},
"transaction": {
"transaction_ref": "<string>",
"asset_moves": [
{
"asset_move_ref": "<string>",
"source_account": {
"ref": "<string>",
"id": "<string>"
},
"destination_account": {
"ref": "<string>",
"id": "<string>"
},
"asset_code": "<string>",
"amount": "<string>",
"type": "<string>",
"categories": [
"<string>"
],
"metadata": {}
}
],
"metadata": {}
}
}'
{
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_ref": "<string>",
"asset_moves": [
{
"asset_move_ref": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_account": {
"ref": "<string>",
"id": "<string>"
},
"destination_account": {
"ref": "<string>",
"id": "<string>"
},
"asset_code": "<string>",
"amount": "<string>",
"status": "EXPECTED",
"type": "<string>",
"decline_type": "<string>",
"categories": [
"<string>"
],
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.