POST api/Callback

Request Information

URI Parameters

None.

Body Parameters

MonoCallbackRequestJson
NameDescriptionTypeAdditional information
invoiceId

string

None.

status

string

None.

payMethod

string

None.

amount

integer

None.

ccy

integer

None.

finalAmount

integer

None.

createdDate

date

None.

modifiedDate

date

None.

reference

string

None.

destination

string

None.

paymentInfo

PaymentInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "invoiceId": "sample string 1",
  "status": "sample string 2",
  "payMethod": "sample string 3",
  "amount": 4,
  "ccy": 5,
  "finalAmount": 6,
  "createdDate": "2026-02-27T01:13:57.0839235+02:00",
  "modifiedDate": "2026-02-27T01:13:57.0839235+02:00",
  "reference": "sample string 9",
  "destination": "sample string 10",
  "paymentInfo": {
    "rrn": "sample string 1",
    "approvalCode": "sample string 2",
    "tranId": "sample string 3",
    "terminal": "sample string 4",
    "bank": "sample string 5",
    "paymentSystem": "sample string 6",
    "country": "sample string 7",
    "fee": 8,
    "paymentMethod": "sample string 9",
    "maskedPan": "sample string 10"
  }
}

application/xml, text/xml

Sample:
<MonoCallbackRequestJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SurfBooking.Models">
  <Amount>4</Amount>
  <Ccy>5</Ccy>
  <CreatedDate>2026-02-27T01:13:57.0839235+02:00</CreatedDate>
  <Destination>sample string 10</Destination>
  <FinalAmount>6</FinalAmount>
  <InvoiceId>sample string 1</InvoiceId>
  <ModifiedDate>2026-02-27T01:13:57.0839235+02:00</ModifiedDate>
  <PayMethod>sample string 3</PayMethod>
  <PaymentInfo>
    <ApprovalCode>sample string 2</ApprovalCode>
    <Bank>sample string 5</Bank>
    <Country>sample string 7</Country>
    <Fee>8</Fee>
    <MaskedPan>sample string 10</MaskedPan>
    <PaymentMethod>sample string 9</PaymentMethod>
    <PaymentSystem>sample string 6</PaymentSystem>
    <Rrn>sample string 1</Rrn>
    <Terminal>sample string 4</Terminal>
    <TranId>sample string 3</TranId>
  </PaymentInfo>
  <Reference>sample string 9</Reference>
  <Status>sample string 2</Status>
</MonoCallbackRequestJson>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MonoCallbackRequestJson'.

Response Information

Resource Description

BookResponseJson
NameDescriptionTypeAdditional information
orderId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "orderId": 1
}

application/xml, text/xml

Sample:
<BookResponseJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SurfBooking.Models">
  <orderId>1</orderId>
</BookResponseJson>