Skip to content

Commit cc4459c

Browse files
authored
Merge pull request #766 from centrapay/add-guide-for-finding-remaining-preauth
Add note to not call release when there is nothing to release
2 parents 2b9d481 + 04af693 commit cc4459c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/guides/farmlands-pos-integration.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,10 @@ Note over POS: ✅ Display Release confirmation
722722
```
723723

724724
6. The POS [releases any remaining authorised funds](https://docs.centrapay.com/api/payment-requests#release-funds-held-for-a-pre-auth-payment-request-experimental) against the [Payment Request](https://docs.centrapay.com/api/payment-requests#payment-request) back to the Cardholder.
725+
To confirm if there are funds requiring release you can [list payment activities](https://docs.centrapay.com/api/payment-requests#list-payment-activities-for-a-payment-request) and sum the confirmation [payment activities](https://docs.centrapay.com/api/payment-requests#payment-activity).
726+
727+
> Only call release if there are funds requiring release.
728+
725729

726730
```bash [Request]
727731
curl -X POST https://service.centrapay.com/api/payment-requests/MhocUmpxxmgdHjr7DgKoKw/release \

0 commit comments

Comments
 (0)