PaymentTransactions

public enum PaymentTransactions

Undocumented

  • Cancel PreAuth payment
    
    PreAuth payments can be canceled in case the token was not used already. In addition to the transaction, the payment token will be revoked as well.
    



    • Canceling the transaction and or the token is only permitted if the transaction is still open, otherwise a 403 Forbidden will be returned.
    • In case the transaction and token are already canceled and the request is repeated, the result will still be 204 No Content.
    See more

    Declaration

    Swift

    public enum CancelPreAuthPayment
  • Get receipt (download,file) for a single transaction as png

    Provides the receipt that has already been sent via email (when processing the payment) as download in png image format.

    See more

    Declaration

    Swift

    public enum GetReceipt
  • Get receipt (download,file) for a single transaction in given file format

    Provides the receipt that has already been sent via email (when processing the payment) as download in the provided file format.

    See more

    Declaration

    Swift

    public enum GetReceiptByFormat
  • Get a transaction

    In case the transaction is not yet completed the call may be delayed 20s until a response can be given. If the client got this URL as a response to the Pre Auth process the call is save to retry. In case the transaction was canceled by the client an answer will still be delayed but always returns 404, therefore the client has to remember, that the transaction was canceled.

    See more

    Declaration

    Swift

    public enum GetTransaction
  • List transactions

    List all transactions for the current user.

    See more

    Declaration

    Swift

    public enum ListTransactions
  • List transactions as CSV

    List all transactions for the current user as csv.

    See more

    Declaration

    Swift

    public enum ListTransactionsCSV
  • Process payment
    
    Process payment and notify user (payment receipt) if transaction is finished successfully.
    

    The priceIncludingVAT and currency attributes are required, unless when announcing a transaction in which case those values are copied from the token and any given values are ignored.

    Only use after approaching (fueling api), otherwise returns 403 Forbidden.

    See more

    Declaration

    Swift

    public enum ProcessPayment