POST api/{version}/PaymentHub/SubmitSponsorPayment

used to submit the sponsor payment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

SponsorPaymentViewModel
NameDescriptionTypeAdditional information
CardInfo

Gets or sets the card info from the sponsor payment information

SponsorCardInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "CardInfo": {
    "Id": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "CardNo": "sample string 4",
    "ExpMonth": 5,
    "ExpYear": 6,
    "CVV": "sample string 7",
    "Address1": "sample string 8",
    "Address2": "sample string 9",
    "City": "sample string 10",
    "State": 11,
    "Statecode": "sample string 12",
    "Country": 13,
    "Zipcode": "sample string 14",
    "PaymentProfileId": "sample string 15",
    "RequestUid": "sample string 16",
    "SponsorEmailAddress": "sample string 17",
    "StudentSponsorId": 18,
    "DivisionId": 19,
    "RequestAmount": 20.1,
    "DisplayRequestAmount": "sample string 21",
    "PaymentResponseMessage": "sample string 22",
    "SaveFutureCard": true,
    "MonthList": null,
    "CountryList": null,
    "StateList": null,
    "YearList": [
      {
        "Disabled": true,
        "Group": {
          "Disabled": true,
          "Name": "sample string 2"
        },
        "Selected": true,
        "Text": "sample string 3",
        "Value": "sample string 4"
      },
      {
        "Disabled": true,
        "Group": {
          "Disabled": true,
          "Name": "sample string 2"
        },
        "Selected": true,
        "Text": "sample string 3",
        "Value": "sample string 4"
      }
    ],
    "RequestShortCode": "sample string 24"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SponsorCardPaymentResponse
NameDescriptionTypeAdditional information
ResponseMessage

Gets or sets response message

string

None.

ReturnValue

boolean

None.

ProfileId

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseMessage": "sample string 1",
  "ReturnValue": true,
  "ProfileId": "sample string 3",
  "ErrorMessage": "sample string 4"
}