v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Payment method acceptances

Get acceptance configuration by hierarchy

Get acceptance configuration for a processing code operation based on the hierarchy from the most granular to the least granular (account > program > org).

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

get/payment-methods-configs/v1/acceptances/processing-codes/{processing_code}/priority-configs

Path parameters

processing_codestring required

Processing code that defines the operation related to the acceptance configuration that is being retrieved.

Query parameters

program_idinteger required

ID of program that the retrived configuration is applied to. You may skip this parameter if the account id parameter is present in the query.

account_idinteger required

ID of account that the retrieved configuration is applied to. You may skip this parameter if the program id parameter is present in the query.

fetch_configboolean

Should authorization configurations be retrieved along with the acceptances? Default is false.

Response

Retrieved Successfully

processing_codestring

Processing code that defines the operation related to this acceptance configuration.

Example response

{
  "authorization": {
    "external_calculation_endpoint": "https://yourendpoint.com",
    "cancellation_threshold": 1440,
    "confirmation_verification_endpoint": "https://yourverificationendpoint.com",
    "confirmation_verification_mtls": true,
    "confirmation_verification_rate": 30,
    "require_external_authentication": true,
    "update_balance_after_discharge": true
  },
  "config": {
    "authorization": {
      "networks": [
        {
          "identifier": "Mastercard",
          "hsm_keys_id": "123456"
        }
      ],
      "cancellation_threshold": 1440,
      "confirmation_verification_endpoint": "https://yourverificationendpoint.com",
      "confirmation_verification_mtls": true,
      "confirmation_verification_mtls_prefix": "url-prefix",
      "confirmation_verification_rate": 30,
      "allow_authorization_by_document_number": true,
      "require_external_authentication": true,
      "update_balance_after_discharge": true
    }
  }
}