ProcessPayment
public enum ProcessPayment
Pre Auth or Post Pay
This call supports two different flows. The *Pre Auth* flow and the *Post Pay* flow. This call will notify the user via email with a payment receipt if transaction is finished successfully. Only use after approaching, otherwise returns `403 Forbidden`.
Pre Auth
This flow is used if a pump is having the status locked
. A locked
pump requires a Pre Auth to unlock. Only after this Pre Auth the pump and can be used by the user
carFuelType
may be passed to only unlock a certain nozzle of the pump. Not all pumps support this feature, and some require it. It is advised to always pass the desired fuel type. ### Post Pay You can optionally provide:priceIncludingVAT
andcurrency
in the request body to check if the price the user has seen is still correct. If the values don’t match, the status409 Conflict
is returned.carFuelType
may be provided but has no effect.
-
Undocumented
Declaration
Swift
public static var service: FuelingAPIService<FuelingAPI.Fueling.ProcessPayment.Response>
-
Undocumented
See moreDeclaration
Swift
public final class Request : FuelingAPIRequest<Response>
-
Undocumented
See moreDeclaration
Swift
public enum Response : APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible