Pismo API reference overview
Integrate Pismo solutions with your applications and configure them according to your specific requirements using Pismo's 600+ integration endpoints. The API reference describes these endpoints and how to structure your API requests.
Endpoints in the API reference are grouped into the following high-level sections:
- Platform authentication
- Platform setup
- Core platform
- Banking
- Instant payments
- Card issuing
- Revolving credit
- Data and reporting
- Seller management
- Migrations
- Lending
Endpoint search
To find a specific endpoint quickly, you can use the JUMP TO search field.
Endpoints at a glance
An API endpoint is a specific, addressable URL that points to a resource on the API server. It defines where a request is sent and what operation the API performs on the resource.
Refer to the following figure for an overview of a typical endpoint page in the Developers Portal.
| Key | Item | Description |
|---|---|---|
| 1 | Endpoint description | Defines the endpoint and describes the action you can do with it |
| 2 | Recent requests | Lists the most recent requests you sent through the interactive console |
| 3 | Parameters | Lists the parameters accepted by the endpoint |
| 4 | Headers | Lists the headers accepted by the endpoint |
| 5 | Responses | Lists the response schemas for all possible response types returned by the API for a particular endpoint |
| 6 | Interactive console | Provides a dedicated, built-in tool for sending and testing API requests from within the Developers Portal |
To help you navigate the API reference, the following sections describe the standard elements on a typical endpoint page in the Developers Portal and how to build and test API requests. This overview is intended for both complete beginners and those who need a quick refresher on general and Pismo-specific API standards.
Endpoint description
The endpoint description defines the endpoint and describes the action you can do with it.
| Key | Item | Description |
|---|---|---|
| 1 | Endpoint name | Summarizes the action done by the endpoint, for example, Create exchange rate |
| 2 | HTTP method | Defines the type of request you are making
|
| 3 | Endpoint URL | Points to the resource where the action is done:https://sandbox.pismolabs.io/rates/v1/exchange-ratesIf an endpoint accepts a path parameter, the URL includes a placeholder: https://sandbox.pismolabs.io/accounts/v2/customers/{customerId} |
| 4 | Endpoint overview | Describes the endpoint Make sure you read the overview carefully. It contains important information about prerequisites, endpoint-specific configurations, warnings, and next steps. For example, some endpoints require a specific authentication token type or environment. |
Recent requests
The Recent Requests table lists the most recent requests you sent through the interactive console.
| Key | Item | Description |
|---|---|---|
| 1 | TIME column | Indicates how long ago you sent a request To view the exact date and time, hover over the request's TIME entry. |
| 2 | STATUS column | Indicates the status code of the response received from the API For more information, refer to Responses. |
| 3 | USER AGENT column | Identifies the user who sent the request. For requests sent through the interactive console, this value is always Try it! |
| 4 | INSPECT REQUEST button | Reloads the interactive console with the specific inputs used for the selected request |
| 5 | Monthly request log | Shows the number of requests you sent to the endpoint in a four-week running period Successful requests are shown in green and failed requests are shown in red |
Parameters
Parameters are inputs included in an API request that provide specific information or instructions for the API to process.
In Pismo's API reference, parameters are described with the following information:
- Name
- Data type
- If the parameter is required or optional
- Minimum and maximum value constraints, if applicable
- Description
- Example values
Pismo endpoints use the following three parameter types common to REST APIs:
Path parameters
Path parameters identify a specific resource and are included as part of the endpoint URL. For endpoints that accept path parameters, you must always include the path parameters in the request.
For example, in https://sandbox.pismolabs.io/accounts/v2/customers/{customerId}, {customerId} is a placeholder for a real customer ID value. When you replace the placeholder with a customer ID, the URL points to the customer resource associated with the customer ID you entered.
Query parameters
Query parameters filter the information returned in an API response. They're appended to the end of the endpoint URL, represented by a question mark (?).
For example, in https://sandbox.pismolabs.io/acquisitions/v2/programs/{programId}/channels?perPage=10, perPage=10 filters the response to list only 10 items per page.
Multiple filters
You can include more than one query parameter in your request by separating each query parameter with an ampersand (&).
https://sandbox.pismolabs.io/acquisitions/v2/programs/{programId}/channels?page=1&perPage=10
Body parameters
Body parameters are inputs included in the body of an API request. They provide the information the API needs to create or update a resource.
The structure and format of the request body depend on the programming language you use to send the request. Refer to the following code extract for an example of a typical request body in cURL, for the creation of a new account phone number.
--data '
{
"type": "RESIDENTIAL",
"country_code": 55,
"number": "11912345678",
"active": true,
"area_code": 11,
"extension": "ext. 9"
}
'
The interactive console includes a language selector, so you can view request syntax in a variety of common languages. For more information, refer to Interactive console.
Headers
Headers are additional metadata included and sent with your request. They define how a request is processed, specify the request and response formats, and control access. Like parameters, each header listed in the Headers section includes useful information describing the header and its purpose.
You must include the following headers with all Pismo API requests:
- accept: application/json, which indicates the preferred API response format.
In most cases, the accept header is already included in the interactive console by default and the field is not present in the Headers section. - content-type: application/json, which indicates the request body format.
In most cases, the content-type header is already included in the interactive console by default and the field is not present in the Headers section. - authorization: Bearer <access_token>, which stores your authentication token and checks the request is sent from an authorized user or system.
Authentication scheme
Pismo API requests are authenticated using the Bearer authentication scheme. When you send a request, make sure you format the authorization header correctly.
authorization: Bearer <access_token>If you don't format the authorization header correctly, you'll get an error response.
For more information, refer to the following guides:
Endpoint-specific headers
Some endpoints accept additional headers specific to the endpoint. The purpose of these headers is described in the Headers section for each header.
Responses
All API requests return a response. A response informs you if your request was successful and returns data relevant to the outcome of the request. The Responses section lists structured schemas for the possible responses returned by the API for a particular endpoint.
A response schema defines the expected response and includes the following information:
- An HTTP status code
- A short summary
- Details of each attribute included in the response along with a short description
The HTTP status code is a standardized numerical code that defines the general classification of a response and is included with all API responses. Refer to the following table for an overview of the status codes used in REST APIs.
| Status code | Description |
|---|---|
| 1xx | Informational: represents a temporary, non-final response that indicates the request is received and processing. |
| 2xx | Success: the request was successfully received, validated, and processed by the server. |
| 3xx | Redirection: the client must take additional action to complete the request. |
| 4xx | Client error: the request failed because the client sent invalid, incomplete, or unauthorized input that the server is unable to process. |
| 5xx | Server error: the request failed due to an error on the server. |
For more information on API responses and response examples, refer to Interactive console.
Interactive console
Use the interactive console to test requests in a sandbox environment directly from the Developers Portal.
| Key | Item | Description |
|---|---|---|
| 1 | LANGUAGE selector | Specifies the programming language shown in the code editor Select |
| 2 | CREDENTIALS field | Accepts and stores your authentication token The CREDENTIALS field is not always present. Depending on the endpoint, an authentication token field is instead included in the Headers section. For more information, refer to Headers. |
| 3 | URL drop-down | Defines the sandbox server where the request is sent The URL drop-down is only included for endpoints that have server-specific constraints. For example, if you're sending a request that handles cardholder data, you must use the dedicated Payment Card Industry (PCI) server. https://gw-pci.pismolabs.ioIf the URL drop-down is not present on a particular endpoint page, your request is sent to the default https://sandbox.pismolabs.io server.For more information, refer to Environments. |
| 4 | Code editor | Shows the request in your selected programming language The code editor updates automatically based on the values you provide in the following sections and fields:
|
| 5 | RESPONSE pane | Displays the response to your request The RESPONSE pane also provides endpoint-specific examples of successful and failed responses with mock data, showing how a typical real-world example is formatted. |
To send a request using the interactive console, do the following:
- Read the endpoint overview and make sure you meet all the prerequisites.
- Configure the request parameters and headers.
- From LANGUAGE, select a programming language.
- If applicable, do the following:
- In CREDENTIALS, enter your authentication token.
- From URL, select the server where you want to send the request.
- Select Try it!
The request is sent and the response is displayed in the RESPONSE pane.
Refer to the following figure for an overview of the request process, using the Get organization endpoint as an example.

Updated about 12 hours ago
