get_card_details
Get decrypted PAN, CVV, expiry, and current balance for a specific card. Use this only when you need to fill in a payment form — prefer get_card_balance if you only need the balance. May require human approval before returning credentials. If approval is required, prompt the user and then call approve_request. Card details are encrypted at rest with AES-256-GCM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | The card ID | |
| approval_id | No | Approval id from a prior approval_required response, once the user has approved. Only for cards created through ANOTHER app: first call without it (the user is emailed an approve link), then retry with it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last4 | No | Last four digits of the card number. Present only when status is "details". | |
| cardId | No | The card ID. | |
| expiry | No | Card expiry (MM/YY). Present only when status is "details". | |
| status | No | Outcome discriminator: "details" when credentials were returned, "approval_required" when human approval is needed first, "not_accessible" when the card exists outside this connection's scope, "managed_by_organization" for org-issued read-only cards. | |
| message | Yes | Human-readable card details (or an approval-required prompt). | |
| approvalId | No | The approval request ID to pass to approve_request. Present only when status is "approval_required". | |
| cardStatus | No | Card status, e.g. "active" or "closed". Present only when status is "details". | |
| balanceCents | No | Card balance in cents. Present only when status is "details". | |
| balanceDollars | No | Card balance formatted as USD dollars, e.g. "12.50". Present only when status is "details". |