Create Offramp Transfer
The unique identifier of the customer
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
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 12345Successful offramp transfer initiation response
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 12345POST /v0/customers/{customer_id}/offramp-transfer HTTP/1.1
Host: api.alignlabs.dev
Api-Key: text
Idempotency-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 591
{
"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"
}
}
}Successful offramp transfer initiation response
{
"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
