PGecom
  • 🚀Introduction
  • đŸŽ¯Guides
    • Getting authenticated
  • 📚Concepts
    • Sandbox Environment
  • 🧑‍đŸ’ģAPI Endpoint
    • Ecommerce
      • đŸ›ī¸Shop
        • GetShopById
        • CreateShop
      • 👔Product
        • ProductSchema
        • GetProductById
        • GetProductBySlug
        • CreateNewProduct
      • 🛒Checkout
        • CreateCheckoutSession
      • Form
        • GetFormById
      • Invoice
        • GetInvoiceById
    • Wordpress Plugin
    • Chrome Extension
    • GiftCards
      • â„šī¸Gift Card Schema
      • ✅List giftcards
      • â˜‘ī¸Order a gift card
      • â˜‘ī¸Get giftcard
      • â˜‘ī¸Rates
    • Send rewards
      • â„šī¸Rewards Schema
      • â˜‘ī¸Send rewards
    • Withdraw
      • â„šī¸Withdraw Schema
      • â˜‘ī¸Process Withdraw
      • â˜‘ī¸Rates
    • Radar
      • â„šī¸Radar Schema
      • â˜‘ī¸Check for Fraudster
    • Top Up
      • â„šī¸Topup Schema
      • â˜‘ī¸Estimate
      • â˜‘ī¸Send
    • Payment
      • Mon Cash
        • CreateMonCashPayment
        • VerifyMonCashPayment
        • WithdrawToMonCashEstimate
        • WithdrawFundsToMonCash
      • PG Pay
        • ConfigurePGPay
        • CreatePGPayPayment
        • VerifyPGPaymentWithToken
        • VerifyPGPaymentWithOrderId
    • Deprecated
      • Card Holder
        • â„šī¸Card Holder Schema
        • â˜‘ī¸Update
      • Card
        • â„šī¸Card Schema
        • ✅Retrieve a single card
        • ✅List cards
        • â˜‘ī¸Create a card
        • â˜‘ī¸Create Customer
  • 🎓Resources
    • Support
    • Production Access
Powered by GitBook
On this page

Was this helpful?

  1. API Endpoint
  2. Deprecated
  3. Card

Retrieve a single card

Retrieve a single card

GET https://sandbox.pgecom.com/api/card

Query Parameters

Name
Type
Description

cardId

String

the actual card id

cardHolderId

String

The owner of the card

Headers

Name
Type
Description

authorization*

String

Bearer token

{
    "id": "ic_1L94r1EDjZxHmxuHZl60lLeZ",
    "object": "issuing.card",
    "brand": "Visa",
    "cancellation_reason": null,
    "cardholder": {
        "id": "ich_1L94ooEDpZxHmxzHryTvRqDl",
        "object": "issuing.cardholder",
        "billing": {
            "address": {
                "city": "Demo City",
                "country": "US",
                "line1": "9874 Street Address",
                "line2": null,
                "postal_code": "98475",
                "state": "WA"
            }
        },
        "company": null,
        "created": 1654855914,
        "email": "info@pgecom.com",
        "individual": null,
        "livemode": false,
        "metadata": {
            "userID": "5f56dfa3-a415-4818-8275-44fc43ece3fd"
        },
        "name": "PGecom",
        "phone_number": "+14048253444",
        "requirements": {
            "disabled_reason": null,
            "past_due": []
        },
        "spending_controls": {
            "allowed_categories": [],
            "blocked_categories": [],
            "spending_limits": [],
            "spending_limits_currency": null
        },
        "status": "inactive",
        "type": "individual"
    },
    "created": 1654856051,
    "currency": "usd",
    "exp_month": 5,
    "exp_year": 2025,
    "financial_account": null,
    "last4": "0005",
    "livemode": false,
    "metadata": {
        "userID": "5f56dfa3-a415-4818-8275-44fc43ece3fd"
    },
    "replaced_by": null,
    "replacement_for": null,
    "replacement_reason": null,
    "shipping": null,
    "spending_controls": {
        "allowed_categories": [],
        "blocked_categories": [],
        "spending_limits": [
            {
                "amount": 50000,
                "categories": [],
                "interval": "daily"
            }
        ],
        "spending_limits_currency": "usd"
    },
    "status": "active",
    "type": "virtual",
    "wallets": {
        "apple_pay": {
            "eligible": true,
            "ineligible_reason": null
        },
        "google_pay": {
            "eligible": true,
            "ineligible_reason": null
        },
        "primary_account_identifier": null
    }
}
{
    "message": "invalid signature"
}
PreviousCard Schema NextList cards

Last updated 1 year ago

Was this helpful?

🧑‍đŸ’ģ
âœ