Create processing code [beta]

Create a custom AUTHORIZATION processing code. The client chooses the processing_code, which identifies the processing code in every bank link operation, so processing codes have no separate external ID.

This endpoint generates an Orgs operation created event.

The response returns the processing code, the reversal and partial reversal processing codes linked to it, and its status. Use Get processing code for the full processing code, including the org_operation_id the Pismo platform generates.

Notes:

  • The processing code is created with the PENDING status. It can't be used in authorizations until its transaction flow is configured.
  • A reversal_processing_code or partial_reversal_processing_code that doesn't exist is created as a REVERSAL processing code, with reversal_description or partial_reversal_description. One that exists must be a REVERSAL processing code with the opposite balance_impact. If partial_reversal_processing_code is omitted, a default one is assigned based on balance_impact.
  • Creating a processing code that already exists creates nothing: the endpoint returns the existing processing code with 200, whatever the body. A retry of a request that succeeded or timed out gets the same 200. Use Get processing code for the full processing code.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 6
^[a-zA-Z0-9]+$

Processing code ID

The following applies to this field:

  • It must have between 1 and 6 characters.
  • Only letters and numbers are allowed.
  • Must be unique and not already exist in the org's database
  • Cannot start with the prefix “PSM”, this is reserved for Pismo platform processing codes.
int64
enum
required

Balance impact associated with processing code:

  • 1 - Credit
  • 0 - No impact. Zero balance operations have no impact. Zero balance customers are responsible for settling accounts and generating transactions.
  • -1 - Debit
Allowed:
string
required
length between 1 and 50

Processing code description

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

Reversal processing code. Processing code for cancellation. Used in transactions and accounting flow to post the correct entries related to cancellation.

Every AUTHORIZATION processing code is REQUIRED to have a reversal and a partial reversal processing code. If a partial code isn't provided, a default one is assigned based on balance_impact.

The reversal processing code can either currently exist or not. If it exists, its balance_impact must be the opposite of the main processing code and its type must be REVERSAL.

For more information, refer to default reversal processing codes.

string
length ≤ 50

Reversal description. If not passed, it is automatically set to "REV " plus the description field. If description is between 47–50 characters, reversal_description is truncated from the end to fit 50 characters.

For example, if description is "Purchase", reversal_description is set to "REV Purchase".

string
length between 1 and 6

Partial reversal processing code. Processing code for partial reversal cancellation. Used in transactions and accounting flow to post the correct entries related to partial cancellation.

Every AUTHORIZATION processing code is REQUIRED to have a reversal and a partial reversal processing code. If a partial code isn't provided, a default one is assigned based on balance_impact.

For more information, refer to default reversal processing codes.

string
length ≤ 50

Partial reversal description. REQUIRED if partial_reversal_processing_code does not exist.

tags
array of strings

Processing code tags. These tags apply ONLY to AUTHORIZATION type processing codes. You cannot add tags to reverse processing codes as they may be associated with more than one authorization processing code.

tags
translations
array of objects
translations
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