GET
/
sources
/
{id}
Get source by ID
curl --request GET \
  --url https://api.paygentic.io/v0/sources/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "planId": "<string>",
  "merchantId": "<string>",
  "object": "source",
  "type": "stripe_revenue",
  "name": "<string>",
  "description": "<string>",
  "config": {},
  "metadata": {},
  "enabled": true,
  "processingMode": "automatic",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

The unique identifier of the source

Response

Source details

id
string
required

Unique identifier for a source

planId
string
required

Unique identifier for a plan

merchantId
string
required

Unique identifier for an organization

object
enum<string>
required
Available options:
source
type
enum<string>
required
Available options:
stripe_revenue
name
string
required
enabled
boolean
required
processingMode
enum<string>
required
Available options:
automatic,
manual
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
description
string
config
object
metadata
object