POST api/PaymentHub/SaveSponsorCardDetails

Used to save the sponsor card details

Request Information

URI Parameters

None.

Body Parameters

SponsorCardDetails
NameDescriptionTypeAdditional information
RequestorUid

Gets or sets the requestor uid

string

None.

CardDetailId

Gets or sets the card detail id

integer

None.

SponsorId

Gets or sets the sponsor id

integer

None.

CCfName

Gets or sets the credit card first name

string

None.

CClName

Gets or sets the credit card last name

string

None.

CCNo

Gets or sets the credit card number

string

None.

CCExpMonth

Gets or sets the cc expiry month

string

None.

CCExpYear

Gets or sets the cc expiry year

string

None.

CCAuthNumber

Gets or sets the cc authorization number

string

None.

Address1

Gets or sets the cc address 1

string

None.

Address2

Gets or sets the cc address 2

string

None.

City

Gets or sets the city

string

None.

StateID

Gets or sets the stateid

integer

None.

ZipCode

Gets or sets the zip code

string

None.

CountryId

Gets or sets the country id

integer

None.

PaymentProfileId

Gets or sets the payment profile id

string

None.

CardTransaction

Gets or sets the card transactions

SponsorCardTransactions

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestorUid": "sample string 1",
  "CardDetailId": 2,
  "SponsorId": 3,
  "CCfName": "sample string 4",
  "CClName": "sample string 5",
  "CCNo": "sample string 6",
  "CCExpMonth": "sample string 7",
  "CCExpYear": "sample string 8",
  "CCAuthNumber": "sample string 9",
  "Address1": "sample string 10",
  "Address2": "sample string 11",
  "City": "sample string 12",
  "StateID": 13,
  "ZipCode": "sample string 14",
  "CountryId": 15,
  "PaymentProfileId": "sample string 16",
  "CardTransaction": {
    "RequestorUid": "sample string 1",
    "CardDetailId": 2,
    "TransactionId": "sample string 3",
    "LastCCProcessAttempt": "sample string 4",
    "ReasonOfRejection": "sample string 5",
    "ReasonStatus": "sample string 6"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SponsorResponse
NameDescriptionTypeAdditional information
StudentSponsorId

integer

None.

SponsorName

Gets or sets the response message

string

None.

EditUrl

string

None.

Uid

string

None.

Amount

decimal number

None.

StrAmount

string

None.

responseMessage

string

None.

SponsorPaymentRequestId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "StudentSponsorId": 1,
  "SponsorName": "sample string 2",
  "EditUrl": "sample string 3",
  "Uid": "sample string 4",
  "Amount": 5.1,
  "StrAmount": "sample string 6",
  "responseMessage": "sample string 7",
  "SponsorPaymentRequestId": 8
}