Create Transfer From Quote

Create Offramp Transfer from Quote

post
/v0/customers/{customer_id}/offramp-transfer/quote/{quote_id}
Path parameters
customer_idstring · uuidRequired

The unique identifier of the customer

quote_idstring · uuidRequired

The unique identifier of the quote

Header parameters
AuthorizationstringRequired

Token for authentication

Idempotency-KeystringRequired

Unique key to prevent duplicate requests

Body
transfer_purposestring · enumOptional

The purpose of the transfer

Possible values:
destination_bank_accountone ofRequired
or
Responses
201

Offramp transfer created successfully

application/json
post
/v0/customers/{customer_id}/offramp-transfer/quote/{quote_id}
POST /v0/customers/{customer_id}/offramp-transfer/quote/{quote_id} HTTP/1.1
Host: api.alignlabs.dev
Authorization: text
Idempotency-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 387

{
  "transfer_purpose": "charity",
  "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": "text",
      "city": "text",
      "street_line_1": "text",
      "postal_code": "text"
    },
    "account_type": "iban",
    "iban": {
      "bic": "text",
      "iban_number": "text"
    }
  }
}
201

Offramp transfer created successfully

{
  "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",
  "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