@@ -1038,6 +1038,26 @@ Web Api client: [*link*](https://checkout.postfinance.ch//api/client)<br>
10381038   ;  ;  ;  ; <strong >GET</strong > /payment/sales-channels/search
10391039   ;  ;  ;  ; Search payment sales channels.
10401040 <br ><br >
1041+ - <strong >PaymentTerminalTransactionSummariesService</strong ><br >
1042+   ;  ; * <code >get_payment_terminals_transaction_summaries</code >
1043+   ;  ;  ;  ; <strong >GET</strong > /payment/terminals/transaction-summaries
1044+   ;  ;  ;  ; List all summaries
1045+ <br ><br >
1046+ - <strong >PaymentTerminalTransactionSummariesService</strong ><br >
1047+   ;  ; * <code >get_payment_terminals_transaction_summaries_id</code >
1048+   ;  ;  ;  ; <strong >GET</strong > /payment/terminals/transaction-summaries/{id}
1049+   ;  ;  ;  ; Retrieve a summary
1050+ <br ><br >
1051+ - <strong >PaymentTerminalTransactionSummariesService</strong ><br >
1052+   ;  ; * <code >get_payment_terminals_transaction_summaries_id_receipt</code >
1053+   ;  ;  ;  ; <strong >GET</strong > /payment/terminals/transaction-summaries/{id}/receipt
1054+   ;  ;  ;  ; Retrieve a rendered summary receipt
1055+ <br ><br >
1056+ - <strong >PaymentTerminalTransactionSummariesService</strong ><br >
1057+   ;  ; * <code >get_payment_terminals_transaction_summaries_search</code >
1058+   ;  ;  ;  ; <strong >GET</strong > /payment/terminals/transaction-summaries/search
1059+   ;  ;  ;  ; Search summaries
1060+ <br ><br >
10411061- <strong >PaymentTerminalsService</strong ><br >
10421062   ;  ; * <code >delete_payment_terminals_id</code >
10431063   ;  ;  ;  ; <strong >DELETE</strong > /payment/terminals/{id}
@@ -2725,13 +2745,16 @@ Additional Api models documentation: [*link*](https://checkout.postfinance.ch/en
27252745* <strong >PaymentTerminalConfigurationVersion</strong >
27262746* <strong >PaymentTerminalConfigurationVersionState</strong >
27272747* <strong >PaymentTerminalCreate</strong >
2748+ * <strong >PaymentTerminalDccTransactionSum</strong >
27282749* <strong >PaymentTerminalLocation</strong >
27292750* <strong >PaymentTerminalLocationState</strong >
27302751* <strong >PaymentTerminalLocationVersion</strong >
27312752* <strong >PaymentTerminalLocationVersionState</strong >
27322753* <strong >PaymentTerminalPreparing</strong >
27332754* <strong >PaymentTerminalReceiptType</strong >
27342755* <strong >PaymentTerminalState</strong >
2756+ * <strong >PaymentTerminalTransactionSum</strong >
2757+ * <strong >PaymentTerminalTransactionSummary</strong >
27352758* <strong >PaymentTerminalTransactionSummaryReference</strong >
27362759* <strong >PaymentTerminalType</strong >
27372760* <strong >PaymentTerminalUpdate</strong >
@@ -2791,6 +2814,7 @@ Additional Api models documentation: [*link*](https://checkout.postfinance.ch/en
27912814* <strong >RenderedDocument</strong >
27922815* <strong >RenderedTerminalReceipt</strong >
27932816* <strong >RenderedTerminalReceiptListResponse</strong >
2817+ * <strong >RenderedTerminalTransactionSummary</strong >
27942818* <strong >RestAddressFormat</strong >
27952819* <strong >RestAddressFormatField</strong >
27962820* <strong >RestApiBulkOperationResult</strong >
@@ -2916,6 +2940,8 @@ Additional Api models documentation: [*link*](https://checkout.postfinance.ch/en
29162940* <strong >TerminalListResponse</strong >
29172941* <strong >TerminalReceiptFormat</strong >
29182942* <strong >TerminalSearchResponse</strong >
2943+ * <strong >TerminalTransactionSummaryListResponse</strong >
2944+ * <strong >TerminalTransactionSummarySearchResponse</strong >
29192945* <strong >Token</strong >
29202946* <strong >TokenCreate</strong >
29212947* <strong >TokenListResponse</strong >
@@ -2996,44 +3022,20 @@ When working with webhooks, the `PostFinanceCheckoutSdkException` may throw erro
29963022
29973023### Error Code Categories
29983024
2999- | ** Range** | ** Category** | ** Description** |
3000- | -----------| --------------| -----------------|
3001- | ** 404** | Not Found | Indicates that the requested resource could not be found or the endpoint returned an empty response |
3002- | ** 1000–1999** | Client-Side Errors | Errors typically caused by invalid input |
3003- | ** 2000–2999** | Server-Side Errors | Errors typically caused by incorrect data provided by the server |
3004-
3005- ### Error Code Reference
3006-
3007- | ** Code** | ** Error Name** | ** Description** | ** Category** |
3008- | ----------| ----------------| -----------------| --------------|
3009- | 404 | ` UNKNOWN_WEBHOOK_ENCRYPTION_PUBLIC_KEY ` | Unknown webhook signature public key | Not Found |
3010- | 1000 | ` WEBHOOK_ENCRYPTION_GENERAL_ERROR ` | General webhook encryption error | Client-Side |
3011- | 1001 | ` INVALID_WEBHOOK_ENCRYPTION_PUBLIC_KEY ` | Invalid webhook signature public key | Client-Side |
3012- | 1002 | ` INVALID_WEBHOOK_ENCRYPTION_HEADER_FORMAT ` | Invalid webhook signature header | Client-Side |
3013- | 1003 | ` UNSUPPORTED_WEBHOOK_ENCRYPTION_ALGORYTHM ` | Unsupported webhook signature algorithm | Client-Side |
3014- | 1004 | ` UNKNOWN_WEBHOOK_ENCRYPTION_PROVIDER ` | Unknown webhook encryption provider | Client-Side |
3015- | 1005 | ` WEBHOOK_ENCRYPTION_VERIFIER_INIT_ERROR ` | Encryption verifier initialization error | Client-Side |
3016- | 1006 | ` WEBHOOK_ENCRYPTION_VERIFIER_CONTENT_UPDATE_ERROR ` | Error during content update in encryption verifier | Client-Side |
3017- | 1007 | ` WEBHOOK_ENCRYPTION_SIGNATURE_VERIFICATION_FAILED ` | Encryption signature verification failed | Client-Side |
3018- | 1008 | ` INVALID_WEBHOOK_ENCRYPTION_CONTENT_SIGNATURE ` | Invalid webhook content signature | Client-Side |
3019- | 2000 | ` MISSING_WEBHOOK_ENCRYPTION_ALGORYTHM ` | Missing webhook signature algorithm value | Server-Side |
3025+ | ** Exception** | ** Description** |
3026+ | ----------------------------| ---------------------------------------------------------------------------------------|
3027+ | ** ApiExceptionErrorCodes** | Lists the possible HTTP error codes an ` ApiException ` can generate |
3028+ | ** SdkExceptionErrorCodes** | Lists the possible error codes a ` PostFinanceCheckoutSdkException ` can generate |
30203029
30213030### Usage Example
30223031``` python
3023- from postfinancecheckout.postfinancecheckout_sdk_exception import PostFinanceCheckoutSdkException
3024-
30253032try :
3026- # Webhook SDK operation
3027- except PostFinanceCheckoutSdkException as e:
3028- if e.code == 1001 : # INVALID_WEBHOOK_ENCRYPTION_PUBLIC_KEY
3029- # Handle invalid public key
3030- pass
3031- elif e.code == 1007 : # WEBHOOK_ENCRYPTION_SIGNATURE_VERIFICATION_FAILED
3032- # Handle signature verification failure
3033- pass
3033+ # SDK operation
3034+ except ApiException as ex:
3035+ if ApiExceptionErrorCodes.CONFLICT .matches(ex):
3036+ # Handle Conflict
30343037 else :
3035- # Handle other errors
3036- pass
3038+ # Other handling
30373039```
30383040
30393041## Author
0 commit comments