Fiat
Create Fiat Deposit Order v2
This endpoint creates a fiat deposit order for a given quote id with enhanced entity tracking.
x-api-key<token>
In: header
quoteIdstring
The ID of the quote generated by the Deposit Quote endpoint
Response Body
curl -X POST "https://api.notuslabs.xyz/api/v2/fiat/deposit" \ -H "Content-Type: application/json" \ -d '{ "quoteId": "12345678-1234-1234-1234-123456789012" }'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"from": {
"currency": "BRL",
"amount": "100.50"
},
"to": {
"currency": "USDC",
"amount": "99.50"
},
"depositInstructions": {
"type": "ACH",
"routingNumber": "1234567890",
"accountNumber": "1234567890",
"accountType": "CHECKING",
"beneficiary": {
"name": "John Doe",
"addressLine1": "123 Main St",
"addressLine2": "string"
},
"receivingBank": {
"name": "John Doe",
"addressLine1": "123 Main St",
"addressLine2": "string"
},
"memoCode": "TID86OASAL"
}
}{
"statusCode": 400,
"id": "FIAT_QUOTE_EXPIRED",
"message": "Fiat quote expired"
}{
"statusCode": 404,
"id": "FIAT_QUOTE_NOT_FOUND",
"message": "Fiat quote not found"
}{
"statusCode": 500,
"id": "FAILED_TO_CREATE_FIAT_DEPOSIT",
"message": "Failed to create fiat deposit for quote"
}