> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.dintero.com/feedback

```json
{
  "path": "/docs/loyalty/wallet-pay-with-gift-card",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Pay with a wallet gift card

> Use a Dintero wallet gift card as a payment option in a standalone system — check balance, pay partially or fully, and collect the remainder by card or cash.

A Wallet gift card can be used as payment option in a standalone payment system.

For using with Dintero Checkout, see [Paying with Dintero Gift Cards in Checkout](./checkout/gift-cards.md)

The process is:

1. Check the balance of the gift card
2. Pay the order partially or fully with the funds available
3. Let payer pay the remaining amount with card/cash in the payment system.

### Check balance

Use the info endpoint to get available funds that can be used in a sale
transaction

```
POST https://api.dintero.com/v1/accounts/{aid}/wallets/info
Authorization: Bearer <token>
Content-Type: application/json

{
  "token": "{card_token}"
}
```

### Create capture (sale transaction)

> Use the `card_id` included in the info response

```
POST https://api.dintero.com/v1/accounts/{aid}/wallets/transactions
Authorization: Bearer <token>
Content-Type: application/json

{
  "token": "{card_token}",
  "card_id": "string",
  "metadata": {
    "order_id": "xk39592f"
  },
  "ref_id": "string",
  "amount": 50000,
  "currency": "NOK",
  "type": "drawdown",
  "pending": false
}
```

<Info>
  See related API documentation for more information about balance and transaction

  * [Wallets Info API reference]
  * [Wallets Transaction API reference]
</Info>

[Wallets Info API reference]: https://docs.dintero.com/wallets-api.html#tag/cards/operation/aid_cards_token_post

[Wallets Transaction API reference]: https://docs.dintero.com/wallets-api.html#tag/transactions/operation/aid_cards_transactions_post
