POST api/Payment/paymentnotification

Request Information

URI Parameters

None.

Body Parameters

PaymentNotificationRequest
NameDescriptionTypeAdditional information
transactionInfo

TransactionNotificationInfo

None.

senderInfo

SenderInfo

None.

paymentDetails

PaymentNotificationDetails

None.

merchantDetails

MerchantDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "transactionInfo": {
    "rrn": "sample string 1",
    "stan": "sample string 2",
    "messageId": "sample string 3",
    "transactionDateTime": "sample string 4",
    "referenceId": "sample string 5",
    "billNumber": "sample string 6"
  },
  "senderInfo": {
    "iban": "sample string 1",
    "accountTitle": "sample string 2"
  },
  "paymentDetails": {
    "currency": "sample string 1",
    "transactionAmount": 2.0,
    "netAmount": 3.0,
    "feeAmount": 4.0
  },
  "merchantDetails": {
    "merchantId": "sample string 1",
    "tillCode": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<PaymentNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeePaymentAPI.Models">
  <MerchantDetails>
    <MerchantId>sample string 1</MerchantId>
    <TillCode>sample string 2</TillCode>
  </MerchantDetails>
  <PaymentDetails>
    <Currency>sample string 1</Currency>
    <FeeAmount>4</FeeAmount>
    <NetAmount>3</NetAmount>
    <TransactionAmount>2</TransactionAmount>
  </PaymentDetails>
  <SenderInfo>
    <AccountTitle>sample string 2</AccountTitle>
    <Iban>sample string 1</Iban>
  </SenderInfo>
  <TransactionInfo>
    <BillNumber>sample string 6</BillNumber>
    <MessageId>sample string 3</MessageId>
    <ReferenceId>sample string 5</ReferenceId>
    <Rrn>sample string 1</Rrn>
    <Stan>sample string 2</Stan>
    <TransactionDateTime>sample string 4</TransactionDateTime>
  </TransactionInfo>
</PaymentNotificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.