Cancel a Deposit Preauthorization or request a no-show
This endpoints allows you to take one of two actions against a deposit preauthorization, in both cases provided that no preauthorized pay-ins have been made to capture funds:
- Cancel it manually by setting the
PaymentStatus
toCANCEL
. A canceled deposit preauthorization can’t be used for any further action. - Request a no-show by setting the
PaymentStatus
toNO_SHOW_REQUESTED
. If successful, thePaymentStatus
NO_SHOW
indicates that you can use the Create a Deposit Preauthorized PayIn complement endpoint to capture additional funds.
Path parameters
The unique identifier of the deposit preauthorization.
Body parameters
Allowed values: CANCELED
,NO_SHOW_REQUESTED
The payment status of the deposit preauthorization object:
WAITING
– The deposit preauthorization can be used: the preauthorized funds can be captured (without or prior to complement); a no-show can be declared; or the preauthorization can be canceled manually.CANCELED
– Value to pass to manually cancel the deposit preauthorization before use (whether for capture or no-show); indicates that the deposit preauthorization was canceled manually.CANCEL_REQUESTED
– The cancellation of the deposit preauthorization has been requested but not yet processed.EXPIRED
– The hold period on the preauthorized funds has ended without it being used (whether for capture or no-show).TO_BE_COMPLETED
– The preauthorized funds were captured (prior to complement) but the complement has not yet been captured.NO_SHOW_REQUESTED
– Value to pass to request a no-show, signaling no capture of the preauthorized funds but the intent to capture a complement.NO_SHOW
– A no-show was requested but a complement not yet been captured.VALIDATED
– Indicates either (i) that the preauthorized funds were captured without complement; (ii) that the preauthorized funds and a complement were captured; or (iii) that a no-show was declared and a complement was captured.FAILED
– The action against the preauthorization has failed (whether capture without complement, capture prior to complement, no-show request, complement), but a retry may be possible.
Responses
200
200
Max. length: 255 characters
The date and time at which the object was created.
The date and time at which the hold period ends and the preauthorized funds are released.
At the expiration date, the deposit preauthorization’s PaymentStatus
changes to EXPIRED
if no captures were made.
The unique identifier of the user at the source of the transaction.
Information about the preauthorized funds.
Returned values: CREATED
, SUCCEEDED
, FAILED
The status of the authorization.
Returned values: WAITING
, CANCELED
, CANCEL_REQUESTED
, EXPIRED
, TO_BE_COMPLETED
, NO_SHOW_REQUESTED
, NO_SHOW
, VALIDATED
, FAILED
The payment status of the deposit preauthorization object:
WAITING
– The deposit preauthorization can be used: the preauthorized funds can be captured (without or prior to complement); a no-show can be declared; or the preauthorization can be canceled manually.CANCELED
– Value to pass to manually cancel the deposit preauthorization before use (whether for capture or no-show); indicates that the deposit preauthorization was canceled manually.CANCEL_REQUESTED
– The cancellation of the deposit preauthorization has been requested but not yet processed.EXPIRED
– The hold period on the preauthorized funds has ended without it being used (whether for capture or no-show).TO_BE_COMPLETED
– The preauthorized funds were captured (prior to complement) but the complement has not yet been captured.NO_SHOW_REQUESTED
– Value to pass to request a no-show, signaling no capture of the preauthorized funds but the intent to capture a complement.NO_SHOW
– A no-show was requested but a complement not yet been captured.VALIDATED
– Indicates either (i) that the preauthorized funds were captured without complement; (ii) that the preauthorized funds and a complement were captured; or (iii) that a no-show was declared and a complement was captured.FAILED
– The action against the preauthorization has failed (whether capture without complement, capture prior to complement, no-show request, complement), but a retry may be possible.
Information about the deposit preauthorized pay-ins made against the deposit preauthorization.
The code indicating the result of the operation. This information is mostly used to handle errors or for filtering purposes.
The explanation of the result code.
The unique identifier of the Card object, obtained during the card registration process.
Returned values: VISA
, MASTERCARD
, CB
, MAESTRO
The card network to use, as chosen by the cardholder, in case of co-branded cards.
Max. length: 255 characters
The URL to which users are automatically returned after 3DS2 if it is triggered (i.e., if the SecureModeNeeded
parameter is set to true
).
Max. length: 255 characters
The URL to which to redirect the user to proceed to 3DS2 validation.
Whether or not the SecureMode
was used.
Returned values: CARD
, DIRECT_DEBIT
, PREAUTHORIZED
, BANK_WIRE
The type of pay-in.
Returned values: WEB
, DIRECT
, EXTERNAL_INSTRUCTION
The type of execution for the pay-in.
Max. length: 10 characters; only alphanumeric and spaces
Custom description to appear on the user’s bank statement along with the platform name. Different banks may show more or less information. See the Customizing bank statement references article for details.
Returned values: One of the supported languages in the ISO 639-1 format: DE, EN, ES, FR, IT, NL, PL, PT.
The language in which the payment page is to be displayed.
Information about the browser used by the end user (author) to perform the payment.
The IP address of the end user initiating the transaction, in IPV4 or IPV6 format.
Default value: FirstName, LastName, and Address information of the Shipping object if any, otherwise the user (author).
Information about the end user billing address. If left empty, the default values will be automatically taken into account.
Default value: FirstName, LastName, and Address information of the Billing object, if supplied, otherwise of the user (author).
Information about the end user’s shipping address. If left empty, the default values will be automatically taken into account.
Returned values: V1
, V2_1
The 3DS protocol version to be applied to the transaction.
Returned values: V1
, V2_1
The 3DS protocol version applied to the transaction.
Max. length: 255 characters
Custom data that you can add to this object.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
Information about the card used for the transaction.
If the information or data is not available, null
is returned.
400 - Trying to cancel PaymentStatus TO_BE_COMPLETED or NO_SHOW
400 - Trying to cancel PaymentStatus TO_BE_COMPLETED or NO_SHOW