Adjust payment
Changed onUse this method to adjust a payment in an open batch.
To adjust a payment, you need its paymentId. Our gateway returned the paymentId in the response of the Create Payment method.
Note: If you don't have the paymentId, use our List Payments method to search for the payment.
You can adjust the following details of the payment:
- Sale amount and tip amount
- Payment status
- Cardholder shipping address and contact information
- Cardholder signature data
Our gateway returns information about the adjusted payment, including information about the payment card and the cardholder.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/payments/{paymentId}/adjust
- AuthHTTP bearer
Path parameters
Unique identifier of the payment that the merchant wants to retrieve.
Headers
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Request body
Response
Successful request. We adjusted the transaction.
Changes
- breaking
the
//response property's maxLength was increased from100to255for the response status - info
added the optional property
//to the response with the status
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning