curl --request GET \
--url https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}import requests
url = "https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}', 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.orchestrasolutions.com/PaymentGatewayAccounts/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.orchestrasolutions.com/PaymentGatewayAccounts/{name}"
req, _ := http.NewRequest("GET", url, nil)
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.orchestrasolutions.com/PaymentGatewayAccounts/{name}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "<string>",
"creationTime": "2023-11-07T05:31:56Z",
"paymentGatewayName": "<string>",
"credentials": [
{
"key": "<string>",
"value": "<string>"
}
]
}[
{
"fieldName": "<string>",
"errors": [
"<string>"
]
}
]Retrieve Payment Gateway Account
A Payment Gateway Account is the set of information necessary for connecting to a specific payment gateway through our system.
This method allows you to retrieve the information set on a particular payment gateway account. You can then update it using the [PUT] PaymentGatewayAccounts/{name} method
curl --request GET \
--url https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}import requests
url = "https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}', 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.orchestrasolutions.com/PaymentGatewayAccounts/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.orchestrasolutions.com/PaymentGatewayAccounts/{name}"
req, _ := http.NewRequest("GET", url, nil)
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.orchestrasolutions.com/PaymentGatewayAccounts/{name}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orchestrasolutions.com/PaymentGatewayAccounts/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "<string>",
"creationTime": "2023-11-07T05:31:56Z",
"paymentGatewayName": "<string>",
"credentials": [
{
"key": "<string>",
"value": "<string>"
}
]
}[
{
"fieldName": "<string>",
"errors": [
"<string>"
]
}
]related
Gateway Accounts Guide
Path Parameters
A unique name of this Payment Gateway Account
^[A-Za-z0-9]{3,64}$Response
OK
Output Model for designating a payment gateway account
Name of account
Date and time the credentials were stored
Unique name of the Payment Gateway the account information relates to.
An array of key-value pairs containing the authentication parameters required to connect Orchestra to your payment gateway account. Each payment gateway requires a specific set of credentials (such as API keys, merchant IDs, secret keys, etc.) to establish the connection.
Structure: Each credential object contains a Key (string) for the parameter name and a Value (string) for the authentication value.
** Determining Required Credentials:** The specific credentials required vary by payment gateway.To retrieve the required credential parameters for your target gateway, call GET /paymentGateway to get all available payment gateways and their credential specifications. Each gateway will list which credential keys are required (e.g., "PrivateKey", "MerchantID", "ApiSecret").
Example:
"Credentials": [
{
"Key": "PrivateKey",
"Value": "VBtt666M/G098098vgdewvk0Mc-GH"
},
{
"Key": "MerchantID",
"Value": "12345678"
}
]
**Security Note: **Credential values are sensitive authentication data. Ensure all API calls are made over HTTPS and values are stored securely.
Show child attributes
Show child attributes