application/json

Body

  • number string
  • verificationCode string

Responses

  • 200 application/json

    200

  • 400 application/json

    400

POST /validateGiftCard
curl \
 --request POST 'https://api.staging.deliverect.com/validateGiftCard' \
 --header "Content-Type: application/json" \
 --data '{"number":"125476349806","verificationCode":"1234"}'
Request example
{
  "number": "125476349806",
  "verificationCode": "1234"
}
Response examples (200)
{}
Response examples (400)
{
  "error": "Invalid gift card"
}