Actions61
- End User Accounts Actions
- EVM Accounts Actions
- EVM Smart Accounts Actions
- EVM Swaps Actions
- EVM Token Balances Actions
- Faucets Actions
- Onchain Data Actions
- Onramp Actions
- Payments Alpha Actions
- Policy Engine Actions
- Solana Accounts Actions
- Solana Token Balances Actions
- SQL API Alpha Actions
- X 402 Facilitator Actions
Payments Alpha → Create Payment Transfer Quote
AI-generatedSummary
Create a payment transfer quote using specified source and target details in the Coinbase Server Wallet.
Inputs
- sourceType (required) — The type of the source of the transfer, which is 'Payment Method'.
- source (required) — The JSON representation of the source of the transfer, including an ID.
- targetType (required) — The type of the target of the transfer, which is 'Crypto Rail'.
- target (required) — The JSON representation of the target of the transfer, including currency, network, and address.
- amount (required) — The amount of the transfer, which indicates how much to send.
- currency (required) — The currency used for the transfer, either source or target currency.
- execute — Whether to execute the transfer immediately (true) or just generate the quote (false).
- requestOptions — Additional request options such as batching settings, SSL configuration, and timeouts.
Output shape
a transfer quote, or confirmation of the executed transfer
If 'execute' is set to false, the operation will return a quote without executing the transfer. If true, the transfer will be executed and confirmation returned.
Examples
Example 1: User wants to transfer cryptocurrency to a wallet and needs a quote first.
Set sourceType to 'payment_method', provide a source ID, define the target with currency and address, specify amount, currency, and set execute to false.
Example 2: User directly executes a transfer after reviewing the quote.
Set execute to true to commit the transfer using the previously specified parameters.