PaymentMethods

public enum PaymentMethods

Undocumented

  • Confirm and redirect to frontend

    Redirect endpoint to confirm a payment method. External services redirect the user here and in turn this endpoint redirects the user to the frontend.

    See more

    Declaration

    Swift

    public enum ConfirmPaymentMethod
  • Delete a payment method

    See more

    Declaration

    Swift

    public enum DeletePaymentMethod
  • Get a payment method

    See more

    Declaration

    Swift

    public enum GetPaymentMethod
  • Get all payment methods for user

    See more

    Declaration

    Swift

    public enum GetPaymentMethods
  • Get all ready-to-use payment methods for user
    
    This request will return a list of supported payment methods for the current user that they can, in theory, use. That is, ones that are valid and can immediately be used.</br></br>
    

    This is as opposed to the regular /payment-methods, which does not categorize payment methods as valid for use.

    You should trigger this when the user is approaching on a gas station with fueling support to get a list of available payment methods.

    If the list is empty, you can ask the user to add a payment method to use PACE fueling.

    See more

    Declaration

    Swift

    public enum GetPaymentMethodsIncludingCreditCheck
  • Get all payment methods and include pre-authorized payment tokens when available
    
    This request returns all payment methods with included pre-authorized tokens.</br></br>
    

    The list will contain the pre-authorized amount (incl. currency), the purpose PRNs, all information about the payment method, and the paymentToken that can be used to complete the payment.
    If no payment method is associated with a pre-authorized token, the result will contain only the payment methods.

    See more

    Declaration

    Swift

    public enum GetPaymentMethodsIncludingPaymentToken
  • Notify about payment method data

    See more

    Declaration

    Swift

    public enum NotificationForPaymentMethod
  • Patch a payment method

    Allows to change fields that can be changed by the customer.

    See more

    Declaration

    Swift

    public enum PatchPaymentMethod