POST api/SubscriptionPayment/DoIdealPayment

Request Information

URI Parameters

None.

Body Parameters

PostSubscriptionPayment
NameDescriptionTypeAdditional information
Amount

decimal number

None.

CultureInfo

string

None.

Currency

string

None.

IsMale

boolean

None.

IssuerBank

string

None.

PostSubscription

PostSubscription

None.

CompanyId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "CultureInfo": "sample string 2",
  "Currency": "sample string 3",
  "IsMale": true,
  "IssuerBank": "sample string 5",
  "PostSubscription": {
    "OfferId": "e12901a3-00e7-4eb8-862d-7612453f5082",
    "OfferSerialNumberId": "e8b0ec2a-4a61-4f4c-94e0-c5cb436c430c",
    "AppInstallId": "sample string 3",
    "Scanned": "2022-05-21T08:25:50.4496591+00:00",
    "OrderDetails": {
      "Honorific": "sample string 1",
      "Initials": "sample string 2",
      "SurnamePrefix": "sample string 3",
      "Surname": "sample string 4",
      "PhoneNumber": "sample string 5",
      "Email": "sample string 6",
      "MerchantOrderReference": "sample string 7",
      "PaymentReference": 1,
      "TraceReference": 1,
      "TransactionReference": "sample string 8",
      "IsPaid": true,
      "PaymentStatus": 0,
      "DateOfBirth": "2022-05-21T08:25:50.4496591+00:00",
      "BankAccount": {
        "AccountNumber": "sample string 1",
        "AccountHolder": "sample string 2"
      },
      "Address": {
        "CountryCode": "sample string 1",
        "StreetName": "sample string 2",
        "HouseNumber": "sample string 3",
        "HouseNumberSuffix": "sample string 4",
        "ZipCode": "sample string 5",
        "Locality": "sample string 6",
        "AddressLine1": "sample string 7",
        "AddressLine2": "sample string 8",
        "StateOrProvince": "sample string 9"
      },
      "DeliveryConsignee": "sample string 10",
      "DeliveryAddress": {
        "CountryCode": "sample string 1",
        "StreetName": "sample string 2",
        "HouseNumber": "sample string 3",
        "HouseNumberSuffix": "sample string 4",
        "ZipCode": "sample string 5",
        "Locality": "sample string 6",
        "AddressLine1": "sample string 7",
        "AddressLine2": "sample string 8",
        "StateOrProvince": "sample string 9"
      },
      "HonorificCode": 2
    },
    "CustomFieldValues": [
      {
        "OfferFieldDefinitionId": "5cc936a4-6e65-4175-94be-899493232214",
        "Value": {}
      },
      {
        "OfferFieldDefinitionId": "5cc936a4-6e65-4175-94be-899493232214",
        "Value": {}
      }
    ],
    "ContractHtml": "sample string 5",
    "LoyaltyCode": "sample string 6",
    "Source": 0
  },
  "CompanyId": "c1724edc-9e52-45ed-aea6-fc35c117d221"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaymentResult
NameDescriptionTypeAdditional information
RedirectUrl

string

None.

PaymentReference

string

None.

TraceReference

string

None.

TransactionReference

string

None.

MerchantOrderReference

string

None.

ApiResult

ApiResult

None.

Response Formats

application/json, text/json

Sample:
{
  "ApiResult": 0,
  "RedirectUrl": "sample string 1",
  "PaymentReference": "sample string 2",
  "TraceReference": "sample string 3",
  "TransactionReference": "sample string 4",
  "MerchantOrderReference": "sample string 5"
}

application/xml, text/xml

Sample:
<PaymentResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ApiResult>Success</ApiResult>
  <RedirectUrl>sample string 1</RedirectUrl>
  <PaymentReference>sample string 2</PaymentReference>
  <TraceReference>sample string 3</TraceReference>
  <TransactionReference>sample string 4</TransactionReference>
  <MerchantOrderReference>sample string 5</MerchantOrderReference>
</PaymentResult>