Skip to content

Latest commit

 

History

History
117 lines (77 loc) · 2.66 KB

File metadata and controls

117 lines (77 loc) · 2.66 KB

paystack.Settlement

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

fetch

Response fetch(per_page=per_page, page=page)

Fetch Settlements

Example

  • 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)

Parameters

Name Type Description Notes
per_page int [optional]
page int [optional]

Return type

Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

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]

transaction

Response transaction(id)

Settlement Transactions

Example

  • 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)

Parameters

Name Type Description Notes
id str

Return type

Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

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]