Skip to main content

Get a list of operations

This method allows you to get a list of operations and their corresponding information.

  • URL syntax: /api/v2/merchant/operations/
  • Method: GET

Request parameters

NameTypeMandatoryDescription
operation_idintNThe syspay identifier.
operation_statusarrayNThe operation status. See Operation statuses
operation_typearrayNThe type of operations. See Operation types
operation_time_startunix timestampNThe creation start date from where you want to get the operations.
operation_time_endunix timestampNThe creation end date until where you want to get the operations.
processing_time_startunix timestampNThe start processing date when the operation has been processed, null if the transaction is still not complete.
processing_time_endunix timestampNThe end proceeding date when the operation has been processed, null if the transaction is still not complete.
customerstringNPart of the name of the customer.
emailstringNCustomer's valid email address.
pageintNNumber of page

Request parameters relative to Hospitality business

NameTypeMandatoryDescription
bookingstringNThe merchant's operation identifier.
booking_time_startunix timestampNThe creation start date from where you want to get the tokens.
booking_time_endunix timestampNThe creation end date until where you want to get the tokens.
check_in_startunix timestampNThe start check_in date of the booking.
check_in_endunix timestampNThe end check_in date of the booking.
check_out_startunix timestampNThe start check out date of the booking.
check_out_endunix timestampNThe end check out date of the booking.

Example requests

/api/v2/merchant/operations/?booking_time_start=1363957978&booking_time_end=1364389978
/api/v2/merchant/operations/?booking=999
/api/v2/merchant/operations/?operation_status[]=SUCCESS

Response parameters

The response in this case is a List with potential Operation(s).

Exemple response

{
"class": "list",
"items_class": "operation",
"total_count": 4,
"pages": 1,
"page": 1,
"limit": 100,
"next_page": null,
"previous_page": null,
"data": [
{
"class": "Operation",
"id": 246830,
"feature_name": "DemoShop Hotel",
"processing_time": "1709897684",
"operation_time": "1709897684",
"booking_time": "1709897684",
"checking_in": "1711843200",
"checking_out": "1712448000",
"booking": "65eaf7d36e030",
"customer": "John Doe",
"email": "john.doe+65eaf7d36ad85@gmail.com",
"payment_method": "4931-70xx-xxxx-3001",
"scheme": null,
"type": "BillingAgreement",
"amount": null,
"currency": "EUR",
"source": "DemoShop Hotel",
"fee": null,
"status": "SUCCESS",
"rolling_reserve": null,
"reserve_release_time": null,
"cvco_reference": null,
"wallet": null
},
{
"class": "Operation",
"id": 246831,
"feature_name": "DemoShop Hotel",
"processing_time": "1709897715",
"operation_time": "1709897715",
"booking_time": "1709847486",
"checking_in": "1711843200",
"checking_out": "1712448000",
"booking": "65eaf84d2694e",
"customer": "John Doe",
"email": "john.doe+65ea33bc72e00@gmail.com",
"payment_method": "4491-70xx-xxxx-4007",
"scheme": "VISA",
"type": "Payment",
"amount": "10000",
"currency": "EUR",
"source": "DemoShop Hotel",
"fee": "-319",
"status": "SUCCESS",
"rolling_reserve": "5000",
"reserve_release_time": "1725449715",
"cvco_reference": null,
"wallet": null
},
{
"class": "Operation",
"id": 246833,
"feature_name": "DemoShop Hotel",
"processing_time": "1709899431",
"operation_time": "1709899430",
"booking_time": "1709899430",
"checking_in": "1711843200",
"checking_out": "1712448000",
"booking": "65eafea620d94",
"customer": "John Doe",
"email": "john.doe+65eafea61fd6f@gmail.com",
"payment_method": "4131-70xx-xxxx-0003",
"scheme": null,
"type": "Token",
"amount": null,
"currency": "EUR",
"source": "DemoShop Hotel",
"fee": null,
"status": "SUCCESS",
"rolling_reserve": null,
"reserve_release_time": null,
"cvco_reference": null,
"wallet": null
},
{
"class": "Operation",
"id": 246835,
"feature_name": "DemoShop Hotel",
"processing_time": "1709899931",
"operation_time": "1709899930",
"booking_time": "1709847486",
"checking_in": "1711843200",
"checking_out": "1712448000",
"booking": "65eaf84d2694e",
"customer": "John Doe",
"email": "john.doe+65ea33bc72e00@gmail.com",
"payment_method": "4491-70xx-xxxx-4007",
"scheme": "VISA",
"type": "Payment",
"amount": "10000",
"currency": "EUR",
"source": "DemoShop Hotel",
"fee": "-319",
"status": "SUCCESS",
"rolling_reserve": "5000",
"reserve_release_time": "1725451931",
"cvco_reference": null,
"wallet": null
}
]
}