---
updatedAt: 2026-10-15T07:21:33.000Z
agentTools:
  projectIndex: https://partner.getpliant.com/llms.txt
---

# Unload Benefit Cards

> 🔒 **Required scope:** `money-movement:write`
>
> The API credential calling this endpoint must be granted the `money-movement` category with `read & write` access.
> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.
> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.

Unload money from a batch of benefit cards. Provide a list of cards and individual amounts to be unloaded from each card.
If all pre-conditions are fulfilled, then the request is accepted and processed asynchronously. Listen for appropriate `CARD_BALANCE_UPDATED` callbacks.
If any of the pre-conditions is not fulfilled, the request will be rejected immediately.
All cards have to be eligible for card unloading, i.e. they are active benefit cards and belong to the same organization.
All requested amounts must be positive, specified in the card-account's currency, and must not exceed the individual card's available balance.
There must not be any pending unload already in progress for the affected cards.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "contact": {
      "name": "API Support",
      "email": "support@getpliant.com",
      "url": "https://www.getpliant.com"
    },
    "title": "Pliant Partner API",
    "description": "Pliant Partner API",
    "version": "2.1.0",
    "license": {
      "name": "MIT",
      "url": "https://opensource.org/license/MIT"
    }
  },
  "servers": [
    {
      "url": "https://partner-api.getpliant.com/api",
      "description": "Pliant Production Server"
    },
    {
      "url": "https://sandbox.partner-api.getpliant.com/api",
      "description": "Pliant Sandbox Server"
    },
    {
      "url": "https://pci-api.getpliant.com",
      "description": "PCI Vault Production Server"
    },
    {
      "url": "https://pci-sandbox.partner-api.getpliant.com",
      "description": "PCI Vault Sandbox Server"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "java",
      "kotlin"
    ],
    "headers": [
      {
        "key": "Pliant-API-Version",
        "value": "2.1.0"
      }
    ]
  },
  "tags": [
    {
      "name": "Cards",
      "description": "This tag is for operations related to cards"
    }
  ],
  "paths": {
    "/cards/unload": {
      "post": {
        "summary": "Unload Benefit Cards",
        "description": "> 🔒 **Required scope:** `money-movement:write`\n>\n> The API credential calling this endpoint must be granted the `money-movement` category with `read & write` access.\n> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.\n> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.\n\nUnload money from a batch of benefit cards. Provide a list of cards and individual amounts to be unloaded from each card.\nIf all pre-conditions are fulfilled, then the request is accepted and processed asynchronously. Listen for appropriate `CARD_BALANCE_UPDATED` callbacks.\nIf any of the pre-conditions is not fulfilled, the request will be rejected immediately.\nAll cards have to be eligible for card unloading, i.e. they are active benefit cards and belong to the same organization.\nAll requested amounts must be positive, specified in the card-account's currency, and must not exceed the individual card's available balance.\nThere must not be any pending unload already in progress for the affected cards.\n",
        "x-required-scopes": [
          "money-movement:write"
        ],
        "tags": [
          "Cards"
        ],
        "operationId": "unload-cards-batch",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "cards"
                ],
                "properties": {
                  "cards": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "cardId",
                        "unloadAmount"
                      ],
                      "properties": {
                        "cardId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "unloadAmount": {
                          "type": "object",
                          "description": "The amount of money to be unloaded from this card.",
                          "required": [
                            "value",
                            "currency"
                          ],
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "The value of the monetary amount, converted to minor units of the currency. For instance 1.00 EUR is 100 cents, thus the value here is `100`. See our [guides](/docs/monetary-values) for more details about how to handle monetary amounts."
                            },
                            "currency": {
                              "type": "string",
                              "description": "The currency of the monetary amount in ISO 4217 format, for example `EUR` for Euro or `USD` for US Dollar."
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Request accepted for asynchronous processing; card unloads will be processed asynchronously and completion is communicated via `CARD_BALANCE_UPDATED` callbacks."
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This API uses oAuth2 with client credentials flow to [obtain the Bearer Token](/docs/authenticated-api-usage).",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string",
            "description": "The error code"
          },
          "exceptionId": {
            "type": "string",
            "format": "uuid",
            "description": "The id of the exception that was thrown"
          },
          "message": {
            "type": "string",
            "description": "The cause of the error or further explanations on the error"
          }
        }
      }
    },
    "responses": {
      "400": {
        "description": "Bad Request. The API consumer sent a malformed request which could not be processed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized. The API consumer is not authorized to access the requested resource.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "403": {
        "description": "Forbidden. The API consumer is not allowed to access the requested resource.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "404": {
        "description": "Not Found. The requested resource could not be found.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "429": {
        "description": "Too Many Requests. The API consumer has sent too many requests in a given amount of time. Please check our [API guidelines](/docs/pliant-api-guidelines#api-rate-limits).",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string",
                  "description": "Detailed description of the error and breached rate limit."
                }
              }
            }
          }
        }
      },
      "500": {
        "description": "Internal Server Error. The request was not completed due to an internal error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```