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

List cards

List cards

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

Query Parameters

Name
Type
Description

cardHolderId

String

Headers

Name
Type
Description

authorization*

String

Bearer token

{
    "object": "list",
    "data": [
        {
            "created": 1655878446,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "inactive",
            "type": "virtual",
            "last4": "0286",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655878007,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0278",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655877937,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0260",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655877515,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0252",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655877464,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0245",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655877440,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0237",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655877375,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0229",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655877354,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0211",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655876774,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0203",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        },
        {
            "created": 1655876615,
            "exp_year": 2025,
            "exp_month": 5,
            "status": "active",
            "type": "virtual",
            "last4": "0195",
            "spending_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "spending_limits": [
                    {
                        "amount": 500,
                        "categories": [],
                        "interval": "daily"
                    }
                ],
                "spending_limits_currency": "usd"
            }
        }
    ],
    "has_more": true,
    "url": "/v1/issuing/cards"
}
{
    "message": "invalid signature"
}
PreviousRetrieve a single cardNextCreate a card

Last updated 1 year ago

Was this helpful?

🧑‍đŸ’ģ
âœ