All URIs are relative to https://api.paystack.co
| Method | HTTP request | Description |
|---|---|---|
| fetch | GET /settlement | Fetch Settlements |
| transaction | GET /settlement/{id}/transaction | Settlement Transactions |
Response fetch(per_page=per_page, page=page)
Fetch Settlements
- Bearer Authentication (bearerAuth):
import paystack
from pprint import pprint
# Set your API key based on domain (test or live mode)
paystack.api_key = 'sk_domain_xxxxxxxx'
# Fetch Settlements
response = paystack.Settlement.fetch(
)
pprint(response)| Name | Type | Description | Notes |
|---|---|---|---|
| per_page | int | [optional] | |
| page | int | [optional] |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Request successful | - |
| 401 | Unauthorized operation | - |
| 404 | Entity not found | - |
| 0 | Server error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Response transaction(id)
Settlement Transactions
- Bearer Authentication (bearerAuth):
import paystack
from pprint import pprint
# Set your API key based on domain (test or live mode)
paystack.api_key = 'sk_domain_xxxxxxxx'
id = 'id_example' # str |
# Settlement Transactions
response = paystack.Settlement.transaction(
id,
)
pprint(response)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Request successful | - |
| 401 | Unauthorized operation | - |
| 404 | Entity not found | - |
| 0 | Server error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]