# Create a Card

Version: v3

Creates a card and returns the resulting `card_id`. The card is issued by PingPong.

**Card Types:**

- **Shared Funds Card**: Multiple cards share the same budget. Spending limits are mandatory and apply to the shared card. Limits support five intervals: `PER_TRANSACTION`, `DAILY`, `WEEKLY`, `MONTHLY`, `LIFETIME`. Amount range: 0.01 to 10,000,000.00 in card_currency.
- **Dedicated Funds Card**: A standard card without its own budget account. Funds must be transferred from a budget account onto the card before it can be used. Spending limits apply per card.

**Note:** Limit interval is automatically inferred from the field name (e.g., `daily_limit` implies DAILY interval).

## Endpoint

```http
POST /api/issuing/v3/cards/apply
```

### Request Headers

| Header | Type | Required | Description | Example |
| --- | --- | --- | --- | --- |
| Authorization | string | Yes | access_token | 2YotnFZFEjr1zCsicMWpAA |
| Content-Type | string | Yes | Request content type | application/json |
| on-behalf-of | string | No | Provide the `client_id` of the managed account to operate on behalf of that account. For more details, please refer to [How it works](/doc/global-banking/get-started/how-it-works). |  |
| source | string | No | Business Source: `ECOMMERCE_TRADE` (Payments from online marketplaces). `OFFLINE_TRADE` (Cross-border trade payments). `GENERAL_ACCOUNT` (Direct transfers from overseas entities). |  |
| sign | string | Yes | RSA or SM2 signature value (Base64 encoded). You can upload the corresponding public keys via [Developer Center](https://global.pingpongx.com/account/signin?redirectPath=developer) ([Sandbox](https://demo-global.pingpongx.com/account/signin?redirectPath=developer)).<br /> | 1QiLCJhbGciOiJIUzI1Ni |

## Request Body

- `request_id` (string, required, maxLength: 64)
  Unique request identifier for tracing, troubleshooting, and audit purposes.

- `card_product_code` (string, required)
  Card product code. Use to specify a card product. Call the query card product endpoint to get available products.

- `card_currency` (string, required, minLength: 3, maxLength: 3)
  Card issuing currency following ISO 4217 three-letter code (e.g., USD, EUR, CNY). Must match budget currency.

- `budget_id` (string, required, maxLength: 64)
  Budget account ID this card sources from. Required for Dedicated Funds Cards.

- `cardholder_id` (string, optional, maxLength: 64)
  Required for 3DS enrollment. Create cardholder first using the cardholder API.

- `per_transaction_limit` (object, optional)
  Maximum amount per single transaction. Range: 0.01 to 10,000,000.00 in card_currency.

    - `amount` (number, required)
      Transaction limit amount (must be greater than 0)

    - `currency` (string, required, minLength: 3, maxLength: 3)
      Currency for limits (ISO 4217 code). Defaults to card_currency if null.

- `daily_limit` (object, optional)
  Maximum amount per day. Range: 0.01 to 10,000,000.00 in card_currency.

    - `amount` (number, required)
      Transaction limit amount

    - `currency` (string, required)
      Currency for limits

- `weekly_limit` (object, optional)
  Maximum amount per week. Range: 0.01 to 10,000,000.00 (defaults to 10,000,000.00 if unfilled).

    - `amount` (number, required)
      Transaction limit amount

    - `currency` (string, required)
      Currency for limits

- `monthly_limit` (object, optional)
  Maximum amount per month. Range: 0.01 to 10,000,000.00 in card_currency.

    - `amount` (number, required)
      Transaction limit amount

    - `currency` (string, required)
      Currency for limits

- `lifetime_limit` (object, optional)
  Maximum amount for card lifetime. Range: 0.01 to 10,000,000.00 in card_currency.

    - `amount` (number, required)
      Transaction limit amount

    - `currency` (string, required)
      Currency for limits

- `coupon_applied` (boolean, required)
  Deduct card opening fee via bonus Balance. true = use bonus Balance, defaults to false.

- `remark` (string, optional, maxLength: 20)
  Optional description to help identify the card. Maximum length: 20 characters.

```bash
> curl -X POST https://gateway.pingpongx.com/api/issuing/v3/cards/apply \
  -H "Authorization: 2YotnFZFEjr1zCsicMWpAA" \
  -H "Content-Type: application/json" \
  -H "on-behalf-of: <value>" \
  -H "source: <value>" \
  -H "sign: 1QiLCJhbGciOiJIUzI1Ni" \
  -d '{
    "request_id": "T47vkdnhfjvn62cjbk3",
    "card_product_code": "T1FBXO",
    "card_currency": "USD",
    "budget_id": "ci202008281528472924",
    "cardholder_id": "273555991139442689",
    "per_transaction_limit": {
        "amount": 202.29,
        "currency": "USD"
    },
    "daily_limit": {
        "amount": 862.89,
        "currency": "USD"
    },
    "weekly_limit": {
        "amount": 270.79,
        "currency": "USD"
    },
    "monthly_limit": {
        "amount": 269.02,
        "currency": "USD"
    },
    "lifetime_limit": {
        "amount": 118.15,
        "currency": "USD"
    },
    "coupon_applied": true,
    "remark": "Test card"
}'
```

## Response Parameters

- `card_id` (string, optional, maxLength: 32)
  Unique card identifier

```json
{
  "card_id": "card201907021723076245"
}
```

Last updated: 2026-10-30T02:41:43.000Z