Payout Provider
Retrieve a list of supported payout service providers.
This endpoint returns the list of available banks and financial institutions that support payouts. Each provider includes the payout_provider_id and name.
Use this endpoint to populate bank selection dropdowns or validate availability before initiating a payout.
Endpoint
POST
https://api.payright.my/api/v1/merchant/list-payout-providersUsage 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()require 'net/http'
require 'uri'
# Parse the URL
url = URI.parse("https://api.payright.my/api/v1/merchant/list-payout-providers")
# Create HTTP request
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.path, {
"auth-token" => "eyJhbGciO...XZI3CLi_a0BeUOJMPUK00"
})
# Execute request
response = http.request(request)
# Output result
puts "Status: #{response.code}"
puts "Response body: #{response.body}"Authentication
string header required
To authenticate requests, include an Authorization header with the value
Key
Value
auth-token
<Your Payright auth token>
Response
application/json
{
"status": "ok",
"code": 200,
"data": {
"list": {
"draw": 40,
"record_filtered": 40,
"record_total": 40,
"data": [
{
"payout_provider_id": 39,
"name": "AEON Bank (M) Berhad"
},
{
"payout_provider_id": 25,
"name": "Affin Bank Berhad"
}
]
}
},
"uuid": "408ed601-0cf9-4835-9bef-f734410741dc",
"message": null,
"error": null
}
{
"status": "fail",
"code": 1234,
"data": null,
"uuid": "408ed601-0cf9-4835-9bef-f734410741dc",
"message": "Something about this doesn't seem right.",
"error": null
}Response Attributes
Last updated