---
agentTools:
  projectIndex: https://ionia.readme.io/llms.txt
---

# Add Funds

This endpoint is used to load funds onto the Ionia Rewards Card for a user. The fund capturing workflow within our platform will be determined per your agreement with Ionia.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Ionia Platform API",
    "description": "Testing adding description to see how it looks on Readme",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://apidev.ionia.io",
      "variables": {
        "name": {
          "default": "test"
        },
        "port": {
          "default": "443"
        },
        "basePath": {
          "default": "v2"
        }
      }
    }
  ],
  "paths": {
    "/CardIssuance/card/{Id}/addFunds": {
      "post": {
        "tags": [
          "IoniaRewardsCard"
        ],
        "summary": "Add Funds",
        "description": "This endpoint is used to load funds onto the Ionia Rewards Card for a user. The fund capturing workflow within our platform will be determined per your agreement with Ionia.",
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "description": "Accepts integer Card id that is received in response for CreateCard response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CrayPay.Core.Support.Data.Models.Solid.AddFundsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CrayPay.Core.Support.Data.Models.Solid.AddFundsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CrayPay.Core.Support.Data.Models.Solid.AddFundsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CrayPay.Core.Support.Data.Models.Solid.AddFundsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CrayPay.Core.Support.Data.Models.Solid.AddFundsResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CrayPay.Core.Support.Data.Models.Solid.AddFundsRequest": {
        "type": "object",
        "properties": {
          "Amount": {
            "type": "number",
            "format": "double",
            "description": "Accepts a double value for the amount of funds to be added to the card."
          }
        },
        "additionalProperties": false
      },
      "CrayPay.Core.Support.Data.Models.Solid.AddFundsResponse": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Label": {
            "type": "string",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "LastFour": {
            "type": "string",
            "nullable": true
          },
          "CreatedOn": {
            "type": "string",
            "format": "date-time"
          },
          "ExpiryYear": {
            "type": "integer",
            "format": "int32"
          },
          "ExpiryMonth": {
            "type": "integer",
            "format": "int32"
          },
          "RewardCardId": {
            "type": "string",
            "nullable": true
          },
          "AvailableBalance": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 9,
      "2": 36,
      "3": 227,
      "4": 55,
      "5": 42,
      "6": 220,
      "7": 0,
      "8": 97,
      "9": 56,
      "10": 79,
      "11": 231
    }
  }
}
```