post https://sandbox.pismolabs.io/payment-methods/v2/payments
Create a cash-in or cash-out payment operation. The type of operation depends on the processing code (credit for cash-in and debit for cash-out).
- For cash-in operations, the processing code must be of credit type. When creating a processing code, ensure that the
balance_impact
is1
(credit). - For cash-out operations, the processing code must be of debit type. When creating a processing code, ensure that the
balance_impact
is-1
(debit).
With this endpoint, you have the following additional options.
- Specify the
authentication
method and details. - Set
pre_authorization
totrue
for operations that require additional confirmation and then call the Confirm pre-authorized cash-in or cash-out endpoint. - Set
validation_rules
to control the rules in this flow, such as disabling a rule, changing the response code and denial code, and forcing a rule.
Refer to the Payment methods and Payment configurations guides for additional information.
This endpoint generates a Platform authorization created event.
Note: This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment.