This quickstart walks you from an empty Sandbox to a card transaction you can see in your dashboard. We’ll:Documentation Index
Fetch the complete documentation index at: https://ramps-moonrise-limestone.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Confirm the cardholder is KYC-approved.
- Fund their internal account.
- Issue a virtual card against that account.
- Simulate an inbound authorization, then a clearing.
- List the resulting
CardTransaction.
Prerequisites
- Sandbox API credentials.
- A
CustomerwithkycStatus: APPROVEDand at least oneInternalAccount. If you don’t have one yet, follow the Payouts quickstart up to “Get the Customer’s Internal Account”.
Fund the cardholder’s internal account
Cards decline at auth time if the bound funding source can’t cover the transaction. Top up the cardholder’s internal account first.Issue the card
state: "PENDING_ISSUE" while the issuer
provisions it. In Sandbox, activation is near-instant for any
platformCardId whose last three characters aren’t a magic suffix —
see the Sandbox testing guide
for the full table. When activation completes, a
CARD.STATE_CHANGE webhook fires with state: "ACTIVE":
Render
panEmbedUrl in an iframe in your client to display the full
PAN, CVV, and expiry to the cardholder. The full card credentials never
cross your servers.Simulate an authorization
Sandbox exposes simulate endpoints that drive the same internal paths the card issuer would call in production. The decisioning outcome is controlled by the last three characters ofmerchant.descriptor — any
non-magic suffix is approved.
CardTransaction in status: "AUTHORIZED" with a single pull on the funding source.
Simulate the clearing
The merchant adds a tip and clears for more than the original auth (12.50 hold). Grid handles the over-auth by issuing a post-hoc pull for the difference.CARD_TRANSACTION.UPDATED webhook fires with the updated parent: the
transaction moves to SETTLED, pullSummary.count becomes 2, and
settlementSummary.totalAmount is 1500.
List card transactions
CardTransaction with child pull, clearing, and
refund events rolled up into the pullSummary, settlementSummary,
and refundSummary aggregates. See
Listing transactions for
filtering, and Reconciliation for
the full event model.
You’ve issued a card, watched it activate, driven an over-auth
transaction through pull and clearing, and listed the reconciled
result.