Making a payment
Basic usage
The following example demonstrates the basic usage of the YocoSDK.charge
method.
The charge amount must be a positive integer, specified in cents.
Advanced usage
This example shows you some of the extra functionality you can add to your use of
the SDK by adding a PaymentParameters
object to the charge function call.
Supported PaymentType
values
Here is a list of the currently supported payment methods:
The cash payment type will show the receipt screen and will not go through any payment process.
Supported TippingConfig
values
Supported Currencies
Here is a list of the currently supported currencies: