Discussing APIs and development related to customers, discounts, and order management.
{
"transaction": {
"kind": "sale",
"status": "success",
"amount": 10,
"gateway": "gift_card",
"gift_card_id": 644042064163,
"gift_card_last_characters": "jqtd",
"source": "external",
"currency": "INR",
"receipt": {
"gift_card_id": 644042064163,
"gift_card_last_characters": "jqtd"
}
}
}
This is the body for the request.
{
"errors": {
"gift_card_id": [
"can't be blank"
]
}
}
Getting this error in response.
Tried sending the gift_card_id as a string, in an array, naming it as just "id".
any solution to this yet?