Pay Connectors
Create a Pay connector
Changed onCreate a generic payment connector in the authenticated organization. The name must be unique in that organization. Authentication supplies ownership; do not send user_id or organization_id. Config is encrypted at rest; passwords and tokens are omitted from responses. This operation stores configuration and does not initiate a payment. See the processor contract.
post/pay_connectors
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/pay_connectors
- Auth: HTTP bearer
Request body
Example request
{
"name": "my-payment-connector",
"config": {
"endpoint_url": "https://processor.example.com/pay"
}
}Response
Connector created. Credentials are omitted.
Example response
{
"data": {
"config": {
"endpoint_url": "https://processor.example.com/pay"
}
}
}Changes
- info
endpoint added
- info