POST api/PaymentSubmission/Save

Request Information

URI Parameters

None.

Body Parameters

PaymentSubmission
NameDescriptionTypeAdditional information
PaymentProviderCode

string

None.

PaymentMethodCode

string

None.

PreOrderCode

string

None.

CountryIso

string

None.

CurrencyIso

string

None.

InvoiceDetails

InvoicePaymentModel

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentProviderCode": "sample string 1",
  "paymentMethodCode": "sample string 2",
  "preOrderCode": "sample string 3",
  "countryIso": "sample string 4",
  "currencyIso": "sample string 5",
  "invoiceDetails": {
    "salutation": "sample string 1",
    "ssn": "sample string 2",
    "gender": "sample string 3",
    "dob": "sample string 4",
    "annualSalary": "sample string 5",
    "clientIpAddress": "sample string 6"
  }
}

text/javascript

Sample:
{"paymentProviderCode":"sample string 1","paymentMethodCode":"sample string 2","preOrderCode":"sample string 3","countryIso":"sample string 4","currencyIso":"sample string 5","invoiceDetails":{"salutation":"sample string 1","ssn":"sample string 2","gender":"sample string 3","dob":"sample string 4","annualSalary":"sample string 5","clientIpAddress":"sample string 6"}}

application/xml, text/xml

Sample:
<PaymentSubmission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Payment.Routing.Api.Contract.Models">
  <CountryIso>sample string 4</CountryIso>
  <CurrencyIso>sample string 5</CurrencyIso>
  <InvoiceDetails>
    <AnnualSalary>sample string 5</AnnualSalary>
    <ClientIpAddress>sample string 6</ClientIpAddress>
    <Dob>sample string 4</Dob>
    <Gender>sample string 3</Gender>
    <Salutation>sample string 1</Salutation>
    <Ssn>sample string 2</Ssn>
  </InvoiceDetails>
  <PaymentMethodCode>sample string 2</PaymentMethodCode>
  <PaymentProviderCode>sample string 1</PaymentProviderCode>
  <PreOrderCode>sample string 3</PreOrderCode>
</PaymentSubmission>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/javascript, application/xml, text/xml

Sample:

Sample not available.