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

NameInTypeRequiredDescription
orgId path string yes Organization ID

Request Body

Required. Content-Type: application/json · Schema: ValidateFundingApplicationRequest

ValidateFundingApplicationRequest fields:

FieldTypeRequiredDescription
contextKey FundingApplicationFieldMappingPreviewContextKey no
fundingApplication object no

FundingApplicationFieldMappingPreviewContextKey fields:

FieldTypeRequiredDescription
cloudPartner Partner no
crmPartner Partner no
fundingType string no
programType string no

Responses

200 — Success

Content-Type: application/json · Schema: ValidateFundingApplicationResponse

ValidateFundingApplicationResponse fields:

FieldTypeRequiredDescription
errors array<FundingApplicationFieldMappingIssue> no

FundingApplicationFieldMappingIssue fields:

FieldTypeRequiredDescription
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.

Request

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

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

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

Error — 400

"string"

View as Markdown · API reference overview

Spotted something wrong or out of date on this page? Tell us and we'll correct it.