Skip to content

Latest commit

 

History

History
111 lines (71 loc) · 2.8 KB

File metadata and controls

111 lines (71 loc) · 2.8 KB

paystack.Integration

All URIs are relative to https://api.paystack.co

Method HTTP request Description
fetch_payment_session_timeout GET /integration/payment_session_timeout Fetch Payment Session Timeout
update_payment_session_timeout PUT /integration/payment_session_timeout Update Payment Session Timeout

fetch_payment_session_timeout

Response fetch_payment_session_timeout()

Fetch Payment Session Timeout

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 Payment Session Timeout

response = paystack.Integration.fetch_payment_session_timeout()


pprint(response)

Parameters

This endpoint does not need any parameter.

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]

update_payment_session_timeout

Response update_payment_session_timeout(body=body)

Update Payment Session Timeout

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'


# Update Payment Session Timeout

response = paystack.Integration.update_payment_session_timeout(
)

pprint(response)

Parameters

Name Type Description Notes
body object [optional]

Return type

Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • 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]