API

Authentication

You need to get your own API key from StreamPay team and you can set it for every request header

Merchants

to manage your merchants, you can add or list merchants

POST Create Merchant

 https://sandbox-api.streampay.io/v1/clients-sdk/merchants

Headers

api-key String Required

BODY raw

{
    "name": "streampay's store",
    "name_ar": "متجر نيرباي",
    "reference_id": "01112"// you can add a reference number here
}
Response

GET List Merchants

Headers

api-key String Required

Parameters

Query

page number

limit number

Response

GET Find Merchant

Headers

api-key String Required

Response

Users

You can manage users and assign them to terminals.

POST Assign Terminal

Headers

api-key String Required

Body raw

Response

PUT UnAssign Terminal

Headers

api-key String Required

Response

Terminals

You can manage your terminals throw API you can register new terminals or even list them.

POST Create Terminals

Headers

api-key String Required

Body raw

Response

GET List Terminals

Headers

api-key String Required

Parameters

Query

tid number

is_connected boolean(true or false)

is_assigned boolean(true or false)

page number

limit number

Response

GET Find Terminal

Headers

api-key String Required

Response

PUT Disconnect Terminal

Headers

api-key String Required

Response

Transactions

You can view all terminals transactions or just one transactions

GET List Transactions

Headers

api-key String Required

Parameters

Query

page number

limit number

tid number

from Timestamp in milliseconds

to Timestamp in milliseconds

Response

GET FindTransaction

Headers

api-key String Required

Response

Reconciliations

Manage your terminal reconciliations or force the terminal to reconciliation

POST Create Reconciliation

Headers

api-key String Required

Body raw

Response

GET List Reconciliations

Headers

api-key String Required

Parameters

Query

terminal_id String

page Number

limit Number

from Timestamp in milliseconds

to Timestamp in milliseconds

Response

GET Find Reconciliations

Headers

api-key String Required

Response

Last updated