v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
PCI

Append issuer script

Append issuer script to card that will be applied at the next authorization. You must work with Pismo to pre-register a script and get its script ID.

For more information, refer to the Card scripts guide.

Note: This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment.

post/pcicards/v1/pcicards/{cardId}/scripts

Path parameters

cardIdstring required

Pismo card ID

Headers

x-account-idstring required

Account ID

Request body

script_idstring required

Issuer script ID. Pismo configures a script according to your needs. Contact your Pismo representative to create a script. Once created, Pismo gives you the script ID.

Example request

{
  "script_id": "11a10bff-830b-4649-9660-1a01a5e1c192"
}

Response

Response for success append issuer scripts

card_script_idstring

ID of script added to card.

org_idstring

Organization ID

card_idinteger

ID of card to create relationship for

account_idinteger

Account ID

script_idstring

Issuer script ID. Pismo configures a script according to your needs. Contact your Pismo representative to create a script. Once created, Pismo gives you the script ID.

created_atstring

Card script creation date, format = yyyy-MM-dd'T'HH:mm:ss.SSS"

appliedboolean

Has script been applied?

Example response

{
  "card_script_id": "11a10bff-830b-4649-9660-1a01a5e1c192",
  "org_id": "TN-cc8f8b89-233a-4582-9f36-63ee85278d6d",
  "card_id": 6743052,
  "account_id": 6912345,
  "script_id": "11a10bff-830b-4649-9660-1a01a5e1c192",
  "created_at": "2021-10-16T14:09:04.549"
}