Website logo
⌘K
Triple Basics
Triple Overview
Getting Started With Triple's API
Introduction to Triple API Endpoints and Webhooks
Getting Started Overview
Triple API and Webhooks
Affiliate Links
Webhooks
Card Accounts
Offer Display
Offer Activation
Card Programs
Tools
Offer Providers
Offer Filters
Portfolio Management
Rewards
Transactions
User Events
Triple White Label UI
Platform Status
Docs powered by Archbee
Getting Started With Triple's ...
Getting Started Overview

Step 2: Register Card Programs

3min

Once you have created your authentication token, the next step is to register your card programs with Triple. A card program refers to a collection of cards or card accounts that are eligible for the reward program. To complete this process, you will need to use specific endpoints, which are provided below along with examples. For more comprehensive information, you can refer to the Triple API documentation for each endpoint.

Prerequisites

Before proceeding with this step, ensure that: • You possess an active authentication token. • You have decided on an (external) ID for each card program.

Create Card Programs

Use this endpoint to add your card programs to Triple: POST partner/card-programs

Code Sample:

Curl
curl --location 'https://api.tripleup.dev/partner/card-programs' \
--header 'Authorization: Bearer MY_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
    "card_bins": ["123456"],
    "external_id": "YOUR_CARD_PROGRAM_EXTERNAL_ID",
    "default_country_code": "US",
    "default_postal_code": "16046",
    "name": "Demo Card Program Demo",
    "description": "This is a demo card program created by me",
    "program_currency": "USD"
}'


More about this endpoint can be found in the Triple API Endpoints and Webhooks section.

Verify Card Programs

Use this endpoint to verify that card program information was properly added: GET partner/card-programs.

Code Sample:

Curl
curl --location 'https://api.tripleup.dev/partner/card-programs' \
--header 'Authorization: Bearer MY_TOKEN'


More about this endpoint can be found in the Triple API Endpoints and Webhooks section.

For the next step, continue to Step 3: Register Card Accounts

























Updated 30 Jun 2023
Did this page help you?
PREVIOUS
Step 1: Perform Authentication
NEXT
Step 3: Register Card Accounts
Docs powered by Archbee
TABLE OF CONTENTS
Prerequisites
Create Card Programs
Verify Card Programs
Docs powered by Archbee