---
title: "Create Grant"
method: POST
path: "/v1/grants"
tags: ["Grants"]
---

# Create Grant

`POST /v1/grants`

Create and submit a new grant. This should be used to capture a grant intent from an authorized DAFpay workflow session and submit the grant request to the DAF sponsor.
On initial creation of the grant, this request will return a 201 Created status. On subsequent requests, the request will return status 200 OK.

<Warning>
Error handling:
- The grant must be captured within 15 minutes of authorization otherwise the request will return status `410 Gone`.
- If this request is submitted while this grant is already being processed, the request will return status `409 Conflict`.
- The amount must be in whole dollar increments (rounded to the nearest hundred) as currently DAFs only accept whole dollar grants otherwise the request will return status `400 Bad Request`.
- The amount must be greater than or equal to the minimum grant amount for the DAF otherwise the request will return status `400 Bad Request`.
- The amount must be less than or equal to the user's DAF account balance otherwise the request will return status `400 Bad Request`.
- Any inputs exceeding the maximum allowed length will be automatically truncated.
</Warning>

## Request body

- object
  - `workflowSessionId` string, required — The identifier of the donor's DAFpay Workflow Session. See [Capturing Grant Intents](/guides/dafpay/integrating-dafpay/integration#capturing-grant-intents) for how to get this value from the DAFpay `CHARIOT_SUCCESS` event.
  - `amount` number, required — The grant amount in cents that will be processed by Chariot and submitted to the DAF. This amount must be in whole dollar increments (rounded to the nearest hundred) as currently all DAFs only accept whole dollar grant amounts.
  - `applicationFeeAmount` number — This parameter specifies the fee your platform plans to take from the grant in cents. This is a fee in addition to Chariot's processing fee. With application fees, Chariot collects the fee you determine from the nonprofit and passes it to your platform. Please note that platform fees are only taken when the grant is successfully received by the nonprofit. The sum of Chariot's fee and the applicationFeeAmount cannot exceed 5% of the grant's amount. If the fee limit is exceeded, a `400 Bad Request` error will be returned.
  - `donor` object
    - `firstName` string — The first name of the donor. Maximum length: 255 characters.
    - `lastName` string — The last name of the donor. Maximum length: 255 characters.
    - `email` string — The email address of the donor. Maximum length: 255 characters.
    - `phone` string — The phone number of the donor. Maximum length: 255 characters.
    - `address` GrantAddress
      - `line1` string — Address line 1 (e.g. street, PO Box, or company name). Maximum length: 255 characters.
      - `line2` string — Address line 2 (e.g. apartment, suite, unit, or building). Maximum length: 255 characters.
      - `city` string — City, district, suburb, town, or village.. Maximum length: 255 characters.
      - `state` string — State, county, province, or region. Maximum length: 255 characters.
      - `postalCode` string — ZIP or postal code. Maximum length: 255 characters.
  - `note` string — A note the donor wants to send to the nonprofit. Maximum length: 400 characters.
  - `designation` string — The designation to include on the grant. If this is left blank, "Where needed most" will be used. Note that including a custom designation may cause the grant approval process to take longer. Maximum length: 100 characters.

## Response `200`

The grant

- Grant — A Grant represents a successfully initiated grant request with a Donor Advised Fund. Grants are created when a person interacts with an instance of Chariot Connect and successfully submits a grant and completes the workflow. There can be many grants associated with a Connect object and therefore a nonprofit.
  - `id` string, uuid, required — The unique identifier for the object
  - `userFriendlyId` string — Often referred to as the "Chariot ID", this is the ID that will be included in the payment from the DAF provider.
  - `trackingId` string — The tracking ID for the grant
  - `workflowSessionId` string, uuid, required — ID of the Connect Workflow Session associated with this grant
  - `fundId` string, required — ID of the donor advised fund
  - `externalGrantId` string — ID of the grant associated with the donor advised fund
  - `createdAt` string, date-time — Time when this object was created; expressed in RFC 3339 format
  - `updatedAt` string, date-time — Time when this object was last updated; expressed in RFC 3339 format
  - `amount` number, required — The grant amount expressed in units of whole cents
  - `status` string — The status of the grant
  - `feeDetail` object — The fee detail of the grant
    - `total` number — The total fee amount expressed in units of cents
    - `contributions` ContributionFeeDetail[] — The list of fee contributions for this grant
      - `name` string, required — The name of the party charging the fee. This is an informational field. If you need to differentiate between fees charged by different parties, you should use the `feeType` field.
      - `amount` number, required — The fee contribution amount expressed in units of cents
      - `feeType` 'chariot' | 'daf' | 'fundraising_application' — This indicates the source of a fee contribution. * chariot: Chariot's processing fee * daf: The DAF's processing fee * fundraising_application: The fundraising application's processing fee
  - `metadata` object — A map of arbitrary string keys and values to store information about the object
  - `firstName` string — The donor's first name
  - `lastName` string — The donor's last name
  - `phone` string — The donor's phone number
  - `email` string — The donor's email
  - `note` string — An note inputted by the user at submisson
  - `statuses` GrantStatus[] — The list of grant statuses for this grant
    - `id` string, uuid, required — The unique identifier for the object
    - `createdAt` string, date-time, required — Time when this object was created; expressed in RFC 3339 format
    - `status` 'Initiated' | 'Completed' | 'Canceled', required — The status of the grant.
    - `comment` string — The user comment for the update
  - `paymentChannel` 'dafpay_network' | 'direct' — The payment channel for the grant. This is useful to know how the grant will be sent. The payment channel will be one of the following: - dafpay_network: Grant will be sent to the DAFPay Network 501(c)(3) nonprofit organization (EIN: 93-1372175). The DAFPay Network will then review and process the grant and send the funds to the intended recipient. - direct: Grant will be sent directly to the intended recipient.
  - `address` GrantAddress
    - `line1` string — Address line 1 (e.g. street, PO Box, or company name). Maximum length: 255 characters.
    - `line2` string — Address line 2 (e.g. apartment, suite, unit, or building). Maximum length: 255 characters.
    - `city` string — City, district, suburb, town, or village.. Maximum length: 255 characters.
    - `state` string — State, county, province, or region. Maximum length: 255 characters.
    - `postalCode` string — ZIP or postal code. Maximum length: 255 characters.

## Other responses

- `201` — Created
- `400` — The request is invalid or contains invalid parameters
- `401` — Unauthorized. The request is missing the security (OAuth2 Bearer token) requirements and the server is unable to verify the identify of the caller.
- `403` — Access denied
- `404` — Resource Not Found
- `409` — Resource Conflicts
- `410` — Resource Gone or Expired
- `500` — Internal Server Error

---

[API](https://skmtc.net/chariot-giving/apis/chariot-api-4.md) · [All operations](https://skmtc.net/chariot-giving/apis/chariot-api-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chariot-giving/chariot-api-4/versions/c194d399d515/schema)
