This API makes it possible to view, find connected payment systems and view payments for the selected one.
Reading.
Allows you to view the connected payment systems in the project.
GET https://api.smartsender.com/v1/cashiers
Main parameters:
Name | Description | Validation |
---|---|---|
limitation | Amount of data to display per page | Minimum value 1, maximum 20 |
page | Requested Page | Minimum value 1 |
In case of a successful response, you will receive the following:
{ "cursor": Cursor, "collection": Cashier[] }
Answer description:
Getting by ID.
Allows you to get information about the specified payment system.
GET https://api.smartsender.com/v1/cashiers/{cashierId}
In case of a successful response, get an object of type Cashier.
Receiving payments by ID.
Allows you to get information about payments in the specified payment system.
GET https://api.smartsender.com/v1/cashiers/{cashierId}/logs
Main parameters:
Name | Description | Validation |
---|---|---|
page | Requested Page | Minimum value 1 |
limitation | Amount of data to display per page | Minimum value 1, maximum 20 |
In case of a successful response, you will receive the following:
{ "cursor": Cursor, "collection": InvoiceLog[] }
Answer description:
Name | Description |
---|---|
cursor | Cursor object |
collection | Array of InvoiceLog objects |