Payout Provider
Retrieve a list of supported payout service providers.
Endpoint
Usage Examples
curl -X POST "https://api.payright.my/api/v1/merchant/list-payout-providers" \
-H "auth-token: eyJhbGciO...XZI3CLi_a0BeUOJMPUK00"import http.client
import urllib.parse
# Define and parse the URL
url = "https://api.payright.my/api/v1/merchant/list-payout-providers"
parsed_url = urllib.parse.urlparse(url)
# Create HTTPS connection to host
conn = http.client.HTTPSConnection(parsed_url.hostname)
# Define headers
headers = {
"auth-token": "eyJhbGciO...XZI3CLi_a0BeUOJMPUK00"
}
# Send the GET request to the endpoint
conn.request("POST", parsed_url.path, headers=headers)
# Read and print response
response = conn.getresponse()
print("Status:", response.status)
print("Response:", response.read().decode())
# Close the connection
conn.close()Authentication
Key
Value
Response
Response Attributes
Last updated