payments
Close return
Use this method to close a return if the customer used an alternative payment method to resolve a returned payment.
To close a return, you need the paymentId of the return. To get the paymentId of the return, complete the following steps:
- Use our Retrieve Payment method to view the details of the original payment.
- From the returns object in the response, get the paymentId of the return.
If your request is successful, our gateway closes the return.
post/bank-transfer-payments/{paymentId}/close
Path parameters
paymentIdstring required
Unique identifier that our gateway assigned to the payment.
Headers
Authorizationstring required
Bearer authentication
Idempotency-Keystring uuid required
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.
Response
Successful request. We closed the return.
Changes
No recorded changes to this endpoint across all 1 revision of this API.