Default Parameters
key mandatory
: string API Key ID generated from Dashboard → Account & Settings → API Keys.
amount mandatory
: integer The amount to be paid by the customer in currency subunits. For example, if the amount is 100, enter 10000. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
Offers Parameters
Pass these parameters to send offer details to Google.additional_info
: object Offer details.
displayItems mandatory
: array Used to display the shopping cart information. Possible values:
type: For example,SUBTOTAL.price: For example,20.00.
offerInfo mandatory
: object Used to share information regarding the offer.
offers mandatory
: array Detailed information about the offer.
redemptionCode mandatory
: string The discount code used by the customer. For example, DISCOUNT10.