Create Transfer From Quote
The unique identifier of the customer
The unique identifier of the quote
Your secret API key, available in the developer dashboard. Include this header on every request to authenticate your application.
Unique key to prevent duplicate requests
You can provide either a reference to an existing external account ID or the complete bank account details for the destination.
Offramp transfer created successfully
The unique identifier for the offramp transfer
The current status of the offramp transfer
processingPossible values: The destination amount of the offramp transfer as a numeric string.
100.50Pattern: ^[0-9]+(\.[0-9]+)?$The currency to be deposited
usdcPossible values: The blockchain network for the source token
polygonPossible values: The currency for the destination
usdPossible values: The rails type to be used for the bank transfer
achPossible values: The purpose of the transfer
Free-text reference sent with the payment. Max 35 characters.
Invoice 12345The quote can no longer be used to create a transfer. Possible reasons:
Quote has expired— the quote is past itsexpire_atwindowQuote has already been used for a transfer— the quote was already consumedQuote not found
POST /v0/customers/{customer_id}/offramp-transfer/quote/{quote_id} HTTP/1.1
Host: api.alignlabs.dev
Api-Key: text
Idempotency-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 193
{
"transfer_purpose": "charity",
"payment_reference": "Invoice 12345",
"destination_external_account_id": "123e4567-e89b-12d3-a456-426614174000",
"documents": [
{
"file_id": "text",
"description": "text"
}
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "processing",
"amount": "100.50",
"source_token": "usdc",
"source_network": "polygon",
"destination_currency": "usd",
"destination_payment_rails": "ach",
"transfer_purpose": "charity",
"payment_reference": "Invoice 12345",
"destination_bank_account": {
"bank_name": "text",
"account_holder_type": "individual",
"account_holder_first_name": "text",
"account_holder_last_name": "text",
"account_holder_business_name": "text",
"account_holder_address": {
"country": "US",
"city": "San Francisco",
"street_line_1": "580 Howard, Suite PH San Francisco",
"postal_code": "94105"
},
"account_type": "iban",
"iban": {
"bic": "text",
"iban_number": "text"
}
},
"quote": {
"deposit_network": "polygon",
"deposit_token": "usdc",
"deposit_blockchain_address": "0x1234567890abcdef1234567890abcdef12345678",
"deposit_amount": "100.50",
"source_amount": "100.50",
"destination_amount": "98.00",
"exchange_rate": "0.98",
"fee_amount": "2.50",
"deposit_transaction_hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
}
}Last updated
