Get Payment Methods
curl --request GET \
--url https://api.dompetx.com/v1/payments/channel \
--header 'X-DOMPAY-API-Key: <api-key>' \
--header 'X-DOMPAY-Signature: <api-key>' \
--header 'X-DOMPAY-Timestamp: <api-key>'import requests
url = "https://api.dompetx.com/v1/payments/channel"
headers = {
"X-DOMPAY-API-Key": "<api-key>",
"X-DOMPAY-Signature": "<api-key>",
"X-DOMPAY-Timestamp": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-DOMPAY-API-Key': '<api-key>',
'X-DOMPAY-Signature': '<api-key>',
'X-DOMPAY-Timestamp': '<api-key>'
}
};
fetch('https://api.dompetx.com/v1/payments/channel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dompetx.com/v1/payments/channel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-DOMPAY-API-Key: <api-key>",
"X-DOMPAY-Signature: <api-key>",
"X-DOMPAY-Timestamp: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dompetx.com/v1/payments/channel"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-DOMPAY-API-Key", "<api-key>")
req.Header.Add("X-DOMPAY-Signature", "<api-key>")
req.Header.Add("X-DOMPAY-Timestamp", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dompetx.com/v1/payments/channel")
.header("X-DOMPAY-API-Key", "<api-key>")
.header("X-DOMPAY-Signature", "<api-key>")
.header("X-DOMPAY-Timestamp", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dompetx.com/v1/payments/channel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-DOMPAY-API-Key"] = '<api-key>'
request["X-DOMPAY-Signature"] = '<api-key>'
request["X-DOMPAY-Timestamp"] = '<api-key>'
response = http.request(request)
puts response.read_bodyPayments
Get Payment Channels
GET
/
payments
/
channel
Get Payment Methods
curl --request GET \
--url https://api.dompetx.com/v1/payments/channel \
--header 'X-DOMPAY-API-Key: <api-key>' \
--header 'X-DOMPAY-Signature: <api-key>' \
--header 'X-DOMPAY-Timestamp: <api-key>'import requests
url = "https://api.dompetx.com/v1/payments/channel"
headers = {
"X-DOMPAY-API-Key": "<api-key>",
"X-DOMPAY-Signature": "<api-key>",
"X-DOMPAY-Timestamp": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-DOMPAY-API-Key': '<api-key>',
'X-DOMPAY-Signature': '<api-key>',
'X-DOMPAY-Timestamp': '<api-key>'
}
};
fetch('https://api.dompetx.com/v1/payments/channel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dompetx.com/v1/payments/channel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-DOMPAY-API-Key: <api-key>",
"X-DOMPAY-Signature: <api-key>",
"X-DOMPAY-Timestamp: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dompetx.com/v1/payments/channel"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-DOMPAY-API-Key", "<api-key>")
req.Header.Add("X-DOMPAY-Signature", "<api-key>")
req.Header.Add("X-DOMPAY-Timestamp", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dompetx.com/v1/payments/channel")
.header("X-DOMPAY-API-Key", "<api-key>")
.header("X-DOMPAY-Signature", "<api-key>")
.header("X-DOMPAY-Timestamp", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dompetx.com/v1/payments/channel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-DOMPAY-API-Key"] = '<api-key>'
request["X-DOMPAY-Signature"] = '<api-key>'
request["X-DOMPAY-Timestamp"] = '<api-key>'
response = http.request(request)
puts response.read_bodyOverview
Retrieve payment channels available for merchant API integration. Use this endpoint before creating a payment so your application can show the correct method code, fee information, transaction limits, and channel status.Endpoint
GET /v1/payments/channel
Authentication
Requires merchant API authentication headers.X-DOMPAY-API-Key: {your_api_key}
X-DOMPAY-Signature: {request_signature}
X-DOMPAY-Timestamp: {unix_timestamp}
Response Example
{
"status": 200,
"data": [
{
"id": "7072d1e9-d82e-452d-800a-3455c444a989",
"name": "QRIS",
"code": "qris",
"image_url": "PAYMENT_METHOD/55ccc0dd-03e3-4414-8280-8026cfbae921.png",
"status": "active",
"is_fee_charged_to_customer": false,
"fee_info": {
"fee_percentage": 0.7,
"fee_value": 400,
"min_transactions": 1000,
"max_transactions": 1000000
}
}
]
}
Notes
- Only use channels with
status: active. - QRIS may require approved KYC depending on channel configuration.
- If a channel is offline or under maintenance, do not show it as selectable to customers.
⌘I