---
updatedAt: 2025-09-09T20:33:44.000Z
agentTools:
  projectIndex: https://docs.qorcommerce.io/llms.txt
---

# Load Card

Load a new or reload an existing Gift Card

### <span style={{ color: "#5375bd" }}><b>Parameters</b></span>

The following parameters are available to load or reload a gift card.

<Table align={["left", "left", "center"]}>
  <thead>
    <tr>
      <th>
        <span style={{ color: "#5375bd" }}><b>parameter</b></span>
      </th>
      <th>
        <span style={{ color: "#5375bd" }}><b>description</b></span>
      </th>
      <th>
        <span style={{ color: "#5375bd" }}><b>required</b></span>
      </th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        **mid**
      </td>
      <td>
        the Merchant ID (MID) assigned by <span style={{ color: "#5375bd" }}><b>{`QorCommerce`}</b></span> or your merchant service provider (MSP)
      </td>
      <td>
        YES
      </td>
    </tr>
    <tr>
      <td>
        **amount**
      </td>
      <td>
        the amount to load on the gift card (load)
      </td>
      <td>
        YES
      </td>
    </tr>
    <tr>
      <td>
        **creditcard**
      </td>
      <td>
        the gift card account number
      </td>
      <td>
        YES
      </td>
    </tr>
    <tr>
      <td>
        **giftcard**
      </td>
      <td>
        set integer value to `5` for loading or reloading cards
      </td>
      <td>
        YES
      </td>
    </tr>
  </tbody>
</Table>

<details>
  <summary>JSON Example</summary>
  <p>The following JSON example provides test values to load or reload a gift card. You can copy and paste these values in the <b>Body Params</b> section above to be used by the <span style={{ color: "#5375bd" }}><b>Try It</b></span> feature</p>

```json
{
  "transaction_data": {
    "mid": "887728202",
    "amount": "3.50",
    "creditcard": "6678249877878121",
    "giftcard": 5
  }
}
```

</details>

#### <span style={{ color: "#5375bd" }}><b>References</b></span>

<ul>
  Link to details on related response codes.
  <li>
    <a href="doc:payment-response-codes">Payment Response Codes</a>
  </li>
</ul>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "QorCommerce Endpoints",
    "description": "API Version 3"
  },
  "paths": {
    "/gift/load": {
      "post": {
        "operationId": "gift-load",
        "summary": "Load Card",
        "tags": [
          "Payments - Gift Cards"
        ],
        "description": "Load a new or reload an existing Gift Card",
        "parameters": [
          {
            "$ref": "#/components/parameters/trait_qorHeaderAuthentication_Qor-App-Key"
          },
          {
            "$ref": "#/components/parameters/trait_qorHeaderAuthentication_Qor-Client-Key"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "transaction_data": {
                    "type": "object",
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "creditcard": {
                        "type": "string"
                      },
                      "cvv": {
                        "type": "string"
                      },
                      "month": {
                        "type": "string"
                      },
                      "year": {
                        "type": "string"
                      },
                      "cardfullname": {
                        "type": "string"
                      },
                      "orderid": {
                        "type": "string"
                      },
                      "ipaddress": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      },
                      "bzip": {
                        "type": "string"
                      }
                    }
                  }
                },
                "example": {
                  "transaction_data": {
                    "mid": "90655454",
                    "amount": "1.5",
                    "creditcard": "5544044490909090",
                    "cvv": "123",
                    "month": "4",
                    "year": "19",
                    "cardfullname": "John Smith",
                    "orderid": "1233123",
                    "ipaddress": "0.0.0.0",
                    "currency": "USD",
                    "bzip": "92838"
                  }
                }
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "transaction_data": {
                    "type": "object",
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "creditcard": {
                        "type": "string"
                      },
                      "cvv": {
                        "type": "string"
                      },
                      "month": {
                        "type": "string"
                      },
                      "year": {
                        "type": "string"
                      },
                      "cardfullname": {
                        "type": "string"
                      },
                      "orderid": {
                        "type": "string"
                      },
                      "ipaddress": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      },
                      "bzip": {
                        "type": "string"
                      }
                    }
                  }
                },
                "example": {
                  "transaction_data": {
                    "mid": "90655454",
                    "amount": "1.5",
                    "creditcard": "5544044490909090",
                    "cvv": "123",
                    "month": "4",
                    "year": "19",
                    "cardfullname": "John Smith",
                    "orderid": "1233123",
                    "ipaddress": "0.0.0.0",
                    "currency": "USD",
                    "bzip": "92838"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "default": {
            "description": ""
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api-sandbox.qorcommerce.io/v3"
    }
  ],
  "components": {
    "parameters": {
      "trait_qorHeaderAuthentication_Qor-App-Key": {
        "name": "Qor-App-Key",
        "in": "header",
        "description": "The unique key identifying the app making this request.\n\nNOTE: If testing use **`T6554252567241061980`** for the **`Qor-App-Key`** header key.",
        "required": true,
        "schema": {
          "type": "string",
          "maxLength": 24,
          "default": "T6554252567241061980"
        }
      },
      "trait_qorHeaderAuthentication_Qor-Client-Key": {
        "name": "Qor-Client-Key",
        "in": "header",
        "description": "The Client key represents an authorized **merchant account**  and is assigned by QorCommerce or your merchant service account provider.\n\n**NOTE:**  If testing use `01dffeb784c64d098c8c691ea589eb82 `  for the `Qor-Client-Key` header key.",
        "required": true,
        "schema": {
          "type": "string",
          "default": "01dffeb784c64d098c8c691ea589eb82"
        }
      }
    }
  },
  "x-explorer-enabled": true,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "x-samples-languages": [
    "curl",
    "csharp",
    "node",
    "ruby",
    "java",
    "javascript",
    "php",
    "python",
    "swift"
  ]
}
```