Menu
Create Gift Card
Create gift card
POST
/gift_cardsUse it in a workflow
- Add a step and choose the Recurly connector.
- Pick the Create Gift Card action (under gift_cards).
- Fill in the fields below, then reference the result from later steps as
{{createGiftCard.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"product_code": "string",
"unit_amount": 0,
"currency": "string",
"delivery": {
"method": "email",
"email_address": "string",
"deliver_at": "2025-01-01T00:00:00Z",
"first_name": "string",
"last_name": "string",
"recipient_address": {
"phone": "string",
"street1": "string",
"street2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string",
"geo_code": "string"
},
"gifter_name": "string",
"personal_message": "string"
},
"gifter_account": null,
"tax_service_opt_out": false
}
Response
Returns 201 with an object. Read it in later steps with {{createGiftCard.response.data.<field>}}.
{
"id": "string",
"object": "string",
"gifter_account_id": "string",
"recipient_account_id": "string",
"purchase_invoice_id": "string",
"redemption_invoice_id": "string",
"redemption_code": "string",
"balance": 0,
"product_code": "string",
"unit_amount": 0,
"currency": "string",
"delivery": {
"method": "email",
"email_address": "string",
"deliver_at": "2025-01-01T00:00:00Z",
"first_name": "string",
"last_name": "string",
"recipient_address": {
"phone": "string",
"street1": "string",
"street2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string",
"geo_code": "string"
},
"gifter_name": "string",
"personal_message": "string"
}
}
Need more? See the Recurly guide for connection setup and behaviour shared by every action.
Was this page helpful?