List Pay connectors
List connectors belonging to the authenticated organization, including connectors created by other users in that organization. Set filter[type]=generic to restrict results to the type covered here. Results default to newest created_at first. Use meta.end_cursor as page[after] for the next page, or meta.start_cursor as page[before] for the preceding page. Omit both cursors for the first page; if both are supplied, page[after] takes precedence. Responses omit passwords and tokens.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const response of client.payConnectors.list()) {
console.log(response);
}import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.pay_connectors.list()
print(page.data)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
payConnectors, err := client.PayConnectors.List(context.TODO())
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", payConnectors.Data)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
var page = client.payConnectors().list();
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.pay_connectors.list
puts(page)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$page = $client->payConnectors->list();
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx pay-connectors list \
--api-key 'My API Key'curl --request GET \
--url https://api.telnyx.com/v2/pay_connectors \
--header 'Authorization: Bearer <token>'{
"data": [],
"meta": {
"page_size": 25,
"start_cursor": null,
"end_cursor": null
}
}{
"errors": [
{
"code": "10000",
"title": "Invalid request",
"detail": "Provided cursor is invalid.",
"source": {
"pointer": "/after"
}
}
]
}Authorizations
Telnyx API key, not the processor bearer token.
Query Parameters
Number of records per page.
1 <= x <= 249Opaque cursor from meta.end_cursor.
Opaque cursor from meta.start_cursor.
Comma-separated created_at or updated_at fields, optionally prefixed with - for descending order.
"-created_at"
Exact match on name.
"my-payment-connector"
Exact match on type.
"generic"
Exact match on mode.
"test"
Equal to this created_at timestamp.
"2026-10-01T00:00:00Z"
After this created_at timestamp.
"2026-10-01T00:00:00Z"
At or after this created_at timestamp.
"2026-10-01T00:00:00Z"
Before this created_at timestamp.
"2026-10-01T00:00:00Z"
At or before this created_at timestamp.
"2026-10-01T00:00:00Z"
Equal to this updated_at timestamp.
"2026-10-01T00:00:00Z"
After this updated_at timestamp.
"2026-10-01T00:00:00Z"
At or after this updated_at timestamp.
"2026-10-01T00:00:00Z"
Before this updated_at timestamp.
"2026-10-01T00:00:00Z"
At or before this updated_at timestamp.
"2026-10-01T00:00:00Z"
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const response of client.payConnectors.list()) {
console.log(response);
}import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.pay_connectors.list()
print(page.data)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
payConnectors, err := client.PayConnectors.List(context.TODO())
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", payConnectors.Data)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
var page = client.payConnectors().list();
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.pay_connectors.list
puts(page)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$page = $client->payConnectors->list();
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx pay-connectors list \
--api-key 'My API Key'curl --request GET \
--url https://api.telnyx.com/v2/pay_connectors \
--header 'Authorization: Bearer <token>'{
"data": [],
"meta": {
"page_size": 25,
"start_cursor": null,
"end_cursor": null
}
}{
"errors": [
{
"code": "10000",
"title": "Invalid request",
"detail": "Provided cursor is invalid.",
"source": {
"pointer": "/after"
}
}
]
}