Create a gift card order (returns a payment link)
create_giftcard_orderCreate a gift card order and get pay_url. Nothing is charged by this call: a person must open pay_url and pay in cryptocurrency on NOWPayments. The server sets the price from the current quote. Before calling, confirm the brand, the card's country (cards are region locked) and the value with the person: a code cannot be refunded once shown. After the payment confirms, get_order returns the code.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "<product_id>",
"face": "<face>"
},
"name": "create_giftcard_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | Yes | Card value in the card's currency: one of get_giftcard values[].face, or inside its value_range | |
| pay_with | No | Optional coin code from list_payment_coins, e.g. usdttrc20. The payment page then opens with that coin selected. | |
| last_name | No | Only when the value has needs_name: their last name | |
| first_name | No | Only when the value has needs_name: first name of the person the card is for | |
| product_id | Yes | id from search_giftcards |