Create Transfer From Quote

Create Onramp Transfer from Quote

post

Creates onramp transfer using an existing quote

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

Body
destination_addressstringRequired

The blockchain address where the funds will be sent

Example: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
Responses
201

Successful onramp transfer initiation response

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

{
  "destination_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
}
201

Successful onramp transfer initiation response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "pending",
  "amount": "1000.50",
  "source_currency": "usd",
  "source_rails": "ach",
  "destination_network": "polygon",
  "destination_token": "usdc",
  "destination_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
  "quote": {
    "deposit_rails": "ach",
    "deposit_currency": "usd",
    "deposit_bank_account": {
      "bank_name": "Chase Bank",
      "bank_address": "270 Park Avenue, New York, NY 10017",
      "account_beneficiary_type": "business",
      "account_beneficiary_name": "Acme Corp",
      "account_type": "us",
      "iban": {
        "bic": "CHASUS33",
        "iban_number": "DE89370400440532013000"
      }
    },
    "deposit_amount": "1000.50",
    "deposit_message": "ONRAMP-REF-123456",
    "fee_amount": "10.50"
  }
}

Last updated