Create program [beta]

Create a program with a client-defined external_program_id. The external_program_id must be unique within the organization and cannot be changed after the program is created. The Pismo platform generates the program_id, and responses return both IDs.

This endpoint generates a Program created event.

Notes:

  • Creating with an external_program_id that's already in use creates nothing: the endpoint returns the response of the first creation with 200, whatever the body. Use Get program to read the program's current state.
  • If the Pismo platform doesn't confirm the creation in time, the request fails with 504 and the code EAPX0030. Retry with the same body after the Retry-After delay: the retry returns the program if Apex saved it, or creates it. If the Pismo platform created the program but didn't answer in time, the retry can create a second program, and the first one is left without an external ID.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
^[A-Z]{3}$

ISO 3166-1 alpha-3 country code

string
required
^[0-9]{3}$

ISO 4217 numeric currency code

string
required
length between 1 and 60
^[a-zA-Z0-9-]+$

ID provided by the client, with only letters, numbers and hyphens. It is unique per organization and concept, and returned exactly as received.

string
required
length between 1 and 50

Program name

string
required

Program timezone in the IANA time zone database "Region/City" format.

string
enum
required

Program type:

  • CREDITO — Full balance credit accounts
  • PRE-PAGO — Full balance prepaid accounts
  • DEBITO — Full balance debit accounts
  • MERCHANT — Merchant accounts
  • CREDITO ZERO-BALANCE — Zero balance credit accounts
  • PRE-PAGO ZERO-BALANCE — Zero balance prepaid accounts
  • DEBITO ZERO-BALANCE — Zero balance debit accounts
  • CURRENT ACCOUNTS — Current accounts
  • INTERNAL ACCOUNTS — Internal accounts
  • CORRESPONDENT ACCOUNTS — Correspondent accounts
  • VOUCHER — Prepaid voucher meal/food card

For more information, refer to Program types.

string
enum

Program language. Default = en-US.

Allowed:
Responses

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