curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
"success": true,
"data": {
"id": "prog_a1b2c3d4",
"name": "Acme SaaS",
"description": "The best project management tool for teams",
"tagline": "Manage projects effortlessly",
"category": "SaaS",
"website_url": "https://acme.com",
"logo_url": "https://cdn.affonso.io/logos/acme.png",
"access_mode": "public",
"currency": "USD",
"commission": {
"type": "COMMISSION",
"value": 30,
"is_percentage": true,
"apply_to": "FIRST_PAYMENT",
"has_multiple_tiers": false
},
"terms": {
"cookie_lifetime_days": 60,
"payment_frequency": "MONTHLY",
"payment_threshold": 50
}
}
}
Marketplace
Get Marketplace Program
Get details for a program listed in the Affonso marketplace
GET
/
v1
/
marketplace
/
{id}
curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
"success": true,
"data": {
"id": "prog_a1b2c3d4",
"name": "Acme SaaS",
"description": "The best project management tool for teams",
"tagline": "Manage projects effortlessly",
"category": "SaaS",
"website_url": "https://acme.com",
"logo_url": "https://cdn.affonso.io/logos/acme.png",
"access_mode": "public",
"currency": "USD",
"commission": {
"type": "COMMISSION",
"value": 30,
"is_percentage": true,
"apply_to": "FIRST_PAYMENT",
"has_multiple_tiers": false
},
"terms": {
"cookie_lifetime_days": 60,
"payment_frequency": "MONTHLY",
"payment_threshold": 50
}
}
}
Retrieve a single program that is listed in the marketplace by ID. Only programs that have been published to the Affonso marketplace are available through this endpoint. This endpoint is public and does not require authentication.
Path Parameters
The unique identifier of the program to retrieve.
Response
Always
true for successful responsesThe marketplace program object.
Show Data Object Properties
Show Data Object Properties
Unique encoded identifier for the program
Program name
Program description
Short tagline for the program
Program category
The program’s website URL
URL to the program’s logo image
Program access mode:
public, private, or inviteThree-letter currency code (e.g.
USD, EUR)Commission details for the program’s default tier.
Show Commission Properties
Show Commission Properties
curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
"success": true,
"data": {
"id": "prog_a1b2c3d4",
"name": "Acme SaaS",
"description": "The best project management tool for teams",
"tagline": "Manage projects effortlessly",
"category": "SaaS",
"website_url": "https://acme.com",
"logo_url": "https://cdn.affonso.io/logos/acme.png",
"access_mode": "public",
"currency": "USD",
"commission": {
"type": "COMMISSION",
"value": 30,
"is_percentage": true,
"apply_to": "FIRST_PAYMENT",
"has_multiple_tiers": false
},
"terms": {
"cookie_lifetime_days": 60,
"payment_frequency": "MONTHLY",
"payment_threshold": 50
}
}
}
Was this page helpful?
⌘I
