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

# Manage cards and agent purchases

> Give an agent access to a business card, set limits, and approve its purchase requests.

You choose which agents can use each of your business cards, and you approve
every purchase, even within your limits.

Sign in as an owner of the business that owns the card, and select **Sandbox**.
Admins can view Spend, but only owners can add or delete cards, change card
access or limits, and decide purchase requests.

## Add a card

1. Open **Spend → Cards** and select **Add card**. If your platform sent you a
   card setup link, open it and sign in to the requested business.
2. Enter a card name and your test card details.
3. Continue to **Access**. Under **Who can use it**, choose the agents to allow,
   then select **Add card**. You can also give access later.
4. Check the confirmation. If the card was added but access for an agent
   failed, open the saved card and give access there. Don't add the card again.

## Give an agent access

The agent needs access to your business in Sandbox first. For a platform's
agent, approve its [access request](https://docs.ionicfi.com/guides/agents.md#agents-from-your-platforms).
Its permissions must include Spend.

1. Open **Spend → Cards** and select the card.
2. In **Agent access**, select **Choose an Agent**. Check the name and handle.
   Agents that a platform runs are labeled **platform agent**.
3. Select **Give access**.

If the agent isn't listed, check its business access, Spend permissions, and
mode, and whether it already has access to this card. If you revoke an agent's
business access and approve it again, give it card access again too.

## Set your limits

Open **Spend → Agents**, select the agent, and choose a currency. In **Your
limits**, select **Add rule**, enter the value, choose what happens when it's
exceeded, then select **Save changes**.

| Rule | Limits |
| - | - |
| **Per-request maximum** | The amount of a single purchase. |
| **Total per window** | The total approved in the last hour, 24 hours, 7 days, or 30 days. |
| **Requests per window** | The number of purchases in the same windows. |

Windows are rolling, not calendar periods. For **If exceeded**, choose:

* **Ask for approval**: the request waits for the extra approval. A platform's
  limit can require the platform owner's approval before yours.
* **Block**: the request is refused, and no one can approve it.

For a platform's agent, **Platform's limits** shows the platform's rules and
**What applies** shows the combined result. Neither the platform nor you can
loosen the other's rules. **Archive** removes only your limits.

Set limits for every currency you allow. If you have limits but none in the
requested currency, the request is refused.

Limits count approved requests, not completed purchases. They don't change
the card's limit at your bank.

## Review a purchase request

Open **Spend → Approvals** and select the request, or follow its approval link.
Check the agent, platform, seller, amount, currency, purpose, and card, then
choose **Approve** or **Decline**. If asked, enter the card's security code on
this page.

When a platform approval is required, it comes first; you decide last.

A request expires if it isn't approved within 24 hours. After you approve, the
agent has up to five minutes to claim the card details, which then work for a
few minutes. If other purchases have used up a limit in the meantime, the
request can be blocked at your final approval.

A **Claimed** request means the agent received the card details. The order
itself is confirmed by the seller or your platform's purchase record.

## Revoke access or remove a card

To stop one agent, open the card's **Agent access**, select **Revoke** beside
the agent, and confirm **Revoke access**. To remove the card for every agent,
select **Delete card** and confirm. You can't undo a deletion.

Revoking stops future use of the card, but doesn't refund a purchase or recall
card details already received. If a purchase may have gone through,
check with the seller before asking the agent to try again.

For the platform's side, see [Build browser purchases with Spend](https://docs.ionicfi.com/guides/spend-platform-integration.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.