POST GtCollection/PaymentNotification

Request Information

URI Parameters

None.

Body Parameters

GtcPaymentRequest
NameDescriptionTypeAdditional information
ServiceUsername

string

Required

ServicePassword

string

Required

CustomerReference

string

Required

Amount

decimal number

Required

ProductCode

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Amount": 4,
  "ProductCode": "sample string 5",
  "CustomerReference": "sample string 3",
  "ServicePassword": "sample string 2",
  "ServiceUsername": "sample string 1"
}

application/xml, text/xml

Sample:
<GtcPaymentRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServiceUsername>sample string 1</ServiceUsername>
  <ServicePassword>sample string 2</ServicePassword>
  <CustomerReference>sample string 3</CustomerReference>
  <Amount>4</Amount>
  <ProductCode>sample string 5</ProductCode>
</GtcPaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GtcPaymentResponse
NameDescriptionTypeAdditional information
Status

integer

None.

StatusMessage

string

None.

TransactionReference

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "TransactionReference": 3,
  "StatusMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GtcPaymentResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Status>1</Status>
  <StatusMessage>sample string 2</StatusMessage>
  <TransactionReference>3</TransactionReference>
</GtcPaymentResponse>