# Validate Funding Application Payload

`POST https://api.suger.cloud/org/{orgId}/fundingApplication/validate`

Check an AWS benefit application against the rules AWS Partner Central applies on submission, without saving or sending anything. Put the benefit application (the shape of a funding application's `info.awsBenefitApplication`, or the `fundingApplication` object PreviewFundingApplicationFieldMapping returns) in the body's `fundingApplication`. The response lists each field AWS would reject, with the reason, in `errors`; an empty list means it is ready to submit.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |

## Request Body

Required.

Content-Type: `application/json` · Schema: `ValidateFundingApplicationRequest`

**`ValidateFundingApplicationRequest`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `contextKey` | FundingApplicationFieldMappingPreviewContextKey | no |  |
| `fundingApplication` | object | no |  |

**`FundingApplicationFieldMappingPreviewContextKey`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `cloudPartner` | Partner | no |  |
| `crmPartner` | Partner | no |  |
| `fundingType` | string | no |  |
| `programType` | string | no |  |

## Responses

### 200 — Success

Content-Type: `application/json` · Schema: `ValidateFundingApplicationResponse`

**`ValidateFundingApplicationResponse`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `errors` | array<FundingApplicationFieldMappingIssue> | no |  |

**`FundingApplicationFieldMappingIssue`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `field` | string | no |  |
| `message` | string | no |  |

### 400 — Bad request error

Content-Type: `application/json`

## Example

_The request bodies are this operation's documented examples; the response and error bodies are generated from its schema. Substitute your own ids, and set `SUGER_TOKEN` to a bearer token from the [OAuth client-credentials exchange](https://doc.fours.com/settings/oauth-app/)._

### Request

`fundingApplication` holds the AWS benefit application itself. Nothing is saved or sent; the response lists each field AWS Partner Central would reject.

```bash
curl -X POST 'https://api.suger.cloud/org/{orgId}/fundingApplication/validate' \
  -H "Authorization: Bearer $SUGER_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
  "fundingApplication": {
    "Name": "Contoso Freight - MPOPP Activate",
    "BenefitId": "ben-fz5vn6p789ma76",
    "Catalog": "AWS",
    "PartnerContacts": [
      {
        "Email": "alliances@example.com"
      }
    ],
    "BenefitApplicationDetails": {
      "AwsAccountId": "123456789012",
      "OfferId": "offer-bpgicw3556ywx",
      "PlannedStartDate": "2026-11-01T00:00:00Z",
      "PlannedEndDate": "2026-12-31T00:00:00Z",
      "AnnualRunRate": {
        "Amount": "120000",
        "Currency": "USD"
      },
      "CreditRequest": {
        "NumberOfCodes": 1,
        "ValuePerCode": {
          "Amount": "5000",
          "Currency": "USD"
        }
      }
    }
  }
}'
```

### Response — 200

```json
{
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
```

### Error — 400

```json
"string"
```

---

API reference: https://doc.fours.com/api/
