• Home
  • Our APIs
  • Guides
  • Our Products
    • Nothing Found
  • Home
  • Our APIs
  • Guides
  • Our Products
    • Nothing Found
    v1.0
    Introduction
    Authentication
    Currency
    Terminals
      get
      Get terminal List
      get
      Get Specific terminal details
      post
      Process settlement on device
    Intent

Process settlement on device

Request via an API to start the settlement process.

Securityapi_key
Request
path Parameters
mid
required
string

Merchant Identifier.

tid
required
string

Terminal Identifier.

Request Body schema: application/json
settlementType
required
string (ESettlementType)

A combination of all settlement types

Enum: "SETTLEMENT" "PRE_SETTLEMENT" "LAST_SETTLEMENT"
postbackUrl
string <uri>

The URL including any relevant path for returning information relating to the request, will be used for sending process settlement requests.

Responses
204

Expected response body.

400

Bad request.

401

Invalid API key/MID.

403

Forbidden from performing this action.

422

Thrown when trying to process an intent on a device that is not AVAILABLE.

Callbacks
postSettlement Callback(postback)
post/merchant/{mid}/terminals/{tid}/settlement
Request samples
  • Payload
application/json
{
  • "settlementType": "SETTLEMENT",
  • "postbackUrl": "http://example.com"
}
Response samples
  • 400
  • 401
  • 403
  • 422
application/json

Thrown when trying process settlement without providing a tid in the request body.

{
  • "statusCode": 400,
  • "error": "BadRequest",
  • "code": "NoTerminalIDProvided",
  • "message": "Cannot process settlement without a Terminal ID."
}
Callback payload samples
POST: Settlement Callback(postback)
application/json
{
  • "mid": "string",
  • "tid": "string",
  • "settlementType": "SETTLEMENT"
}
Legal
  • Privacy Policy
Support
  • Contact us
© Copyright Till Payments 2023. All right reserved.