POST /transaction/create/daimo/{ticker}

Changed on

Create a multi-chain payment intent via Daimo Pay. Daimo settles these payments as USDC.

Request

  • Base URL
    https://api.nano-gpt.com/api
  • URL
    https://api.nano-gpt.com/api/transaction/create/daimo/{ticker}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

ticker'usdc' | 'usdt' | 'eth' | 'sol' required

Daimo payment ticker

Request body

amountnumber required

Amount to deposit. Interpretation depends on ticker/provider (for example, crypto units for invoice-based deposits, or a USD/USDC amount for checkout-style deposits). Must be within the limits for the ticker.

Example request

{
  "amount": 0.001
}

Response

Daimo payment intent created successfully

paymentIdstring required

Encrypted Daimo payment identifier used by the client to launch the Daimo Pay widget

Example response

{
  "paymentId": "encrypted_payment_id"
}

Changes