Copy program

Copy an existing program to create a new one synchronously.

For more information about programs, refer to Core objects.

For information on what properties are copied, refer to Cloned and exported program properties.

This endpoint executes synchronously; meaning, a network timeout or similar delay could occur. In this case, an error is generated. To avoid this possibility, call the Copy program (async) endpoint instead.

This endpoint generates a Program created event.

To get your Organization's programs, call the List programs endpoint, or view them in the Pismo Control Center.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Copy program request

int64
required

ID of program that was used to create this program.

string
required
length ≤ 50

Program name

string
required

Program timezone. This is the IANA (Internet Assigned Numbers Authority) time zone database "Region/City" format.

string
required

Program ISO 4217 currency code.

string
required

ISO 3166 Alpha-3 program country code. For example, BRA = Brazil.

due_dates
array of objects

Array of available program due dates. Every program account specifies a due date to use.

A due date is REQUIRED for Full balance credit programs.

For each due date, day and active are REQUIRED, as in the following example:

{
    "due_dates": [
          {
            "day": 1,
            "active": true
          },
          {
            "day": 2,
            "active": false
          }
    ]
}

Note: The due date ID is passed as a numeric value. For example, for due date 1 (first day of the month) the ID could be something like 3063. This is the value you should use. day must be between 1 and 28.

due_dates
string
enum

Program's card brand. REQUIRED for card-issuing programs.

Allowed:
bin
object

Bank Identification Number (BIN) object. REQUIRED for card-issuing programs.

string
enum

Program Language:

  • en-US - US English
  • pt-BR - Brazilian Portuguese

Default is en-US

Allowed:
string

Program cicle closing.

This field is used for things like accrual basis, interest calculation, taxes, penalties, tiers, and more.

Format = HH:MM:SS. Default is null.

string
length ≤ 36

Program holiday calendar ID

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json