Create a card
mutation CreateOrder {
createOrder(
account_id: 1
currency: "GBP"
merchant_id: 24
group_fulfilment: true
auto_fulfil_group_fulfilment: true
merchant_transaction_reference: "abc-def-123-123-423-aaas555"
unit_epos_reference: "2251799825000010"
total: 5000
sales_channel_id: 3
order_items: [
{
product_id: 3532
custom_price_modifier_value: 5000
fulfilment_method_id: 3
generate_card_reference: false
card_reference: "6301190088474564102"
}
]
) {
id,
LineItems{
id
Card{
id
card_reference
pin
balance
expiry_time
card_alias_card_reference
product_name
}
}
}
}
Where should I get the card reference when creating an order?
What product ID should you use?
What value should I use for "total"?
Common troubleshooting tips
Unit EPOS Reference errors

The card number generated isn't the one provided
Last updated