List Sources
GET
https://api.baremetrics.com/v1/sourcesEach Plan, Customer, Subscription and Charge belongs to a source. A source can be your Payment Provider or the Baremetrics API.
When you want to interact with any of these objects, you must supply the Source in the URL. For example: GET /v1/:source_id/subscriptions
You can get your source_id from the Sources endpoint
Please note that while you can read data from your Payment Provider sources, you can only modify data that has been added via the API.
Responses
200OK
{
"sources": [
{
"id": "source_id",
"provider": "stripe",
"provider_id": "<stripe_account_id>"
},
{
"id": "source_id",
"provider": "baremetrics",
"provider_id": null
}
]
}400Bad Request
{}