Comments (3)
Hi Rob
Thanks for the provider.
Ideally want the account to be fully set up by running terraform on a new account so all of the account settings are documented.
I have looked in the API's that I can see and can not find the creation of Pay connectors, so this would not be possible. Closing this for now
Thanks again
from terraform-provider-twilio.
Hi @exussum12,
I was having a quick look at this, and Twilio does have a preview API for Marketplace Addons, this includes 3rd party integrations such as Pay Connectors, Virtual Agents, etc.
The API docs can be found at https://github.com/twilio/twilio-oai/blob/b6a05f4078e85203b9a24495cb86b330293deb99/spec/yaml/twilio_preview.yaml#L4543
Unfortunately, I can't currently add support for this, as it looks like Twilio generates and saves credentials as part of the setup (as seen by the credentialSid in the example JSON below).
{
"unique_name": "Stripe_Connector",
"description": "Accept payments over the phone, web, and in person with Stripe",
"date_updated": "2023-11-17T19:14:08Z",
"friendly_name": "Stripe Connector",
"account_sid": "ACxxxxxxxxxxxxxxxxxx",
"url": "https://preview.twilio.com/marketplace/InstalledAddOns/XEa8ef3cd0b292b722379a8d766e31f962",
"sid": "XEa8ef3cd0b292b722379a8d766e31f962",
"date_created": "2023-11-17T19:13:34Z",
"configuration": {
"connect_account_id": "acct_xxxxxxxxxxxxx",
"credentialSid": "CRxxxxxxxxxxxxx",
"mode": "test"
},
"links": {
"extensions": "https://preview.twilio.com/marketplace/InstalledAddOns/XEa8ef3cd0b292b722379a8d766e31f962/Extensions",
"available_add_on": "https://preview.twilio.com/marketplace/AvailableAddOns/XB304ed87c2c2b2b87c93fa7d31a6ac883"
}
}
API Request
GET https://preview.twilio.com/marketplace/InstalledAddOns/XEa8ef3cd0b292b722379a8d766e31f962
I am currently unable to find a way to generate these credentials. So I would only be able to allow the add on to be partially configured. I don't know if you have anyone you can ask at Twilio to see if there is a way to do this. Otherwise, you will have to configure the connectors via the console
Kind Regards
Rob
from terraform-provider-twilio.
Hi @exussum12,
Thanks for the feature request and for using the provider.
Are you able to provide a little more context around what you are looking to be added to the provider, is it the ability to setup a pay connector or modify an existing one or get the details of a pay connector?
I have previously setup pay using stripe and the linking of the twilio account to stripe could only be done via the console. So just trying to understand a little bit more about your use case.
Iām not aware of an that can be used to configure this (unless it falls under the addon apis) when I know more about your use case I can investigate whether this can be done by the public APIs
Kind Regards
Rob
from terraform-provider-twilio.
Related Issues (20)
- Add possibility to set recording settings HOT 11
- Change default activity and timeout activity in workspace HOT 4
- Twilio Rate limit reached HOT 5
- Create a TwiML Bin HOT 1
- Twilio Verify HOT 3
- twilio_account_sub_account auth_token is empty HOT 14
- Pass In Subaccount Details To Resources HOT 5
- Rotate Auth Token HOT 2
- Verify Message Template Not Applying HOT 2
- Ability to create and amend Conversation Addresses HOT 3
- twilio_conversations_push_credential_apn fails to unmarshal the string response for Sandbox from twilio API HOT 4
- subAccount provider that depend on mainAccount? HOT 4
- Domain base for twilio_serverless_service HOT 4
- Ability to deploy multiple functions under one serverless environment HOT 1
- Error: Failed to create serverless environment HOT 1
- Importing a Twilio phone number doesn't populate its area code HOT 3
- Importing a Twilio phone number's assignment in a messaging service doesn't populate its phone_number_sid field HOT 2
- Signature: openpgp: key expired HOT 3
- Twilio Studio Flow creation failing, resource created but not added to state HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-twilio.