Pick a coin for an invoice
select_invoice_payment_methodChoose a coin for an invoice and get the deposit address and exact amount to send, so you can pass payment details directly to the payer instead of using a pay URL.
Instructions
Chooses the coin for an invoice and returns the deposit address and exact amount to send (in the invoice payment attempt) — use it when you pass the address to the payer yourself instead of pay_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | A code from get_invoice_payment_methods. | |
| invoice_id | Yes | invoice_id from create_invoice. |