v1

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

Create org acceptance configuration

Create acceptance configuration for a processing code operation on the organization level. This level can be used as a default configuration for all programs and accounts in this org. There is always only one configuration by operation by org. New creation attempts for the same operation receive a conflict response.

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

post/payment-methods-configs/v1/acceptances/processing-codes/{processingCode}

Request body

Example request

{
  "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
  },
  "payment": {
    "retroactive_payment_time_restriction": 5,
    "require_external_authentication": true,
    "update_balance_after_discharge": true
  },
  "transfer": {
    "from": {
      "retroactive_payment_time_restriction": 5,
      "require_external_authentication": true
    },
    "to": {
      "retroactive_payment_time_restriction": 5,
      "require_external_authentication": true
    }
  }
}

Response

Created

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
  },
  "payment": {
    "retroactive_payment_time_restriction": 5,
    "require_external_authentication": true,
    "update_balance_after_discharge": true
  },
  "transfer": {
    "from": {
      "retroactive_payment_time_restriction": 5,
      "require_external_authentication": true
    },
    "to": {
      "retroactive_payment_time_restriction": 5,
      "require_external_authentication": true
    }
  }
}