Download OpenAPI specification:Download
Use this endpoint to create a Favordrop and send it.
Authorization | string JWT authorization token. |
organization-api-key | string Organization API key. This is required if |
customer | string The unique identifier of the customer. Either |
fname | string The first name of the customer. Required if |
lname | string The last name of the customer. Required if |
phone | string The phone number of the customer. Required if |
string The email of the customer. Required if | |
amount | number The amount to send in the Favordrop. (Required - must be greater than or equal to $5) |
expire_time | string <date-time> The expiration time of the Favordrop. (Required) |
send_at | string <date-time> The time to send the Favordrop. (Required) |
merchant | string The unique identifier of the merchant.(Required) |
message | string The message to send with the Favordrop. (Optional) |
valid_at | string <date-time> The time the Favordrop is valid. (Optional) |
on_redeem_followup_message | string The message to send when the Favordrop is redeemed. (Optional) |
send_type | Array of strings The type of message to send. (Required - must be either sms, or email. For sms you must have a toll-free number on file for the organization) |
cc_phones | Array of strings The phone number to receive status updates about the favordrop. (Optional) |
cc_emails | Array of strings The email to receive status updates about the favordrop. (Optional) |
reminder_message | string The message to send as a reminder to redeem the favordrop. (Optional) |
layout_id | string The layout to use for the favordrop. (Optional) |
sender_time_zone | string The time zone of the sender. (Optional - defaults to America/New_York) |
{- "customer": "string",
- "fname": "string",
- "lname": "string",
- "phone": "string",
- "email": "string",
- "amount": 0,
- "expire_time": "2019-08-24T14:15:22Z",
- "send_at": "2019-08-24T14:15:22Z",
- "merchant": "string",
- "message": "string",
- "valid_at": "2019-08-24T14:15:22Z",
- "on_redeem_followup_message": "string",
- "send_type": [
- "string"
], - "cc_phones": [
- "string"
], - "cc_emails": [
- "string"
], - "reminder_message": "string",
- "layout_id": "string",
- "sender_time_zone": "string"
}
{- "message": "string"
}