Payments API- en

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

 

Basic options:

Name

Description

Validation

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:

Name

Description

Name

Description

cursor

Cursor object

collection

Array of Cashier objects

 
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

 

Basic options:

Name

Description

Validation

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

Name

Description

cursor

Cursor object

collection

Array of InvoiceLog objects