receipt_contactdetails are the "purchaser" of the card. So for automated guest gratuity cards, you could either hard-code these to a system level address or you could use the currently logged in user to your own platform, if you have such a thing or... you can leave the
receipt_contactdetails out of your mutation..
merchant_id, you may remove this field from your query.
price_modifier_idrelates to the particular price option for this card. e.g. a pre-defined list of denominations.
totalwould always typically be
0as there is nothing to pay.
discount_type_idand value. A discount type of
1is a general-use FOC type, though we also have other types available. For example
3is for discounts for promotions.