GiftCard Partners
Complete endpoint documentation for the B2B API (v1).
Download OpenAPI specification:
Pending portion and an Available portion. When we receive a funding request, the Pending portion of the balance will increase.Pending to Available for use.POST made it through to us and we have your order in our system, you'll receive a 409 Conflict and the response body will contain the Id of your initial order for which you missed the response body.Pending status and then asynchronously complete the order in an effort to make sure that we're able to respond in a timely manner.FulfillmentComplete webhook setting and our systems will reach out to notify you about your order's updated status.Token creation requires two headers to be present in the request: Email and AccessToken. Note the expiration field. Bearer tokens are meant to be reused for the duration of their lifecycle. Credentials can be provisioned in your user management portal.
{- "Value": "string",
- "ExpiresIn": 0
}{- "Id": "string",
- "Denominations": [
- 0.1
], - "ShortDescription": "string",
- "LongDescription": "string",
- "Name": "string",
- "AvailableDeliveryTypes": [
- "DigitalDelivery"
], - "Terms": "string",
- "Disclaimer": "string",
- "RedemptionNote": "string",
- "Type": "Digital",
- "DenominationType": "Fixed",
- "Meta": {
- "ShippingConfiguration": {
- "FulfillmentGroup": "string",
- "HasRequiredCardCarriers": true
}
}, - "Media": {
- "Faceplates": [
- {
- "Name": "string",
- "Path": "string"
}
]
}, - "Cost": {
- "Fee": 0.1,
- "DiscountPercentage": 0.1
}, - "Translations": [
- {
- "CultureCode": "fr",
- "Name": "string",
- "Description": "string",
- "TermsAndConditions": "string",
- "SpecialTermsAndConditions": "string",
- "GeneralRedemptionInstructions": "string",
- "OnlineRedemptionInstructions": "string",
- "InstoreRedemptionInstructions": "string",
- "PrintRedemptionInstructions": "string"
}
], - "CurrencyCode": "USD",
- "CultureCodes": [
- "string"
]
}| pageIndex | integer <int32> [ 1 .. 2147483647 ] Default: 1 One based. |
| pageSize | integer <int32> [ 1 .. 500 ] Default: 25 |
| productName | string Loose matching - will succeed when this value exists in the product name. |
| productDescription | string Loose matching - will succeed when this value exists in either the long product description or the short product description. |
| currencyCode | string Example: currencyCode=USD ISO 4217 |
| productType | string (ProductType) Enum: "Digital" "Physical" |
{- "Data": [
- {
- "Id": "string",
- "Denominations": [
- 0.1
], - "ShortDescription": "string",
- "LongDescription": "string",
- "Name": "string",
- "AvailableDeliveryTypes": [
- "DigitalDelivery"
], - "Terms": "string",
- "Disclaimer": "string",
- "RedemptionNote": "string",
- "Type": "Digital",
- "DenominationType": "Fixed",
- "Meta": {
- "ShippingConfiguration": {
- "FulfillmentGroup": "string",
- "HasRequiredCardCarriers": true
}
}, - "Media": {
- "Faceplates": [
- {
- "Name": "string",
- "Path": "string"
}
]
}, - "Cost": {
- "Fee": 0.1,
- "DiscountPercentage": 0.1
}, - "Translations": [
- {
- "CultureCode": "fr",
- "Name": "string",
- "Description": "string",
- "TermsAndConditions": "string",
- "SpecialTermsAndConditions": "string",
- "GeneralRedemptionInstructions": "string",
- "OnlineRedemptionInstructions": "string",
- "InstoreRedemptionInstructions": "string",
- "PrintRedemptionInstructions": "string"
}
], - "CurrencyCode": "USD",
- "CultureCodes": [
- "string"
]
}
], - "Page": 1,
- "PageSize": 10,
- "TotalCount": 53
}| pageIndex | integer <int32> [ 1 .. 2147483647 ] Default: 1 One based. |
| pageSize | integer <int32> [ 1 .. 50 ] Default: 5 |
{- "Data": [
- {
- "Id": "string",
- "Carrier": "string",
- "Description": "string",
- "Cost": 0.1,
- "Type": "DirectDelivery",
- "FulfillmentGroup": "string",
- "Tiers": [
- {
- "From": 0.1,
- "To": 0.1,
- "Cost": 0.1,
- "Type": "Quantity"
}
]
}
], - "Page": 1,
- "PageSize": 10,
- "TotalCount": 53
}A carrier is the physical packaging that a card is attached to when shipped. If your account is entitled to anything above and beyond the default carrier, you'll see them listed here.
| pageIndex | integer <int32> [ 1 .. 2147483647 ] Default: 1 One based. |
| pageSize | integer <int32> [ 1 .. 50 ] Default: 5 |
{- "Data": [
- {
- "Id": "string",
- "Name": "string",
- "Description": "string",
- "ProductIds": [
- "string"
], - "FulfillmentGroup": "string",
- "MinSupportedQuantity": 0,
- "MaxSupportedQuantity": 0,
- "Type": "DirectDelivery"
}
], - "Page": 1,
- "PageSize": 10,
- "TotalCount": 53
}A branding is the customization template a digital card is attached to when emailed to the recipient. If your account is entitled to anything above and beyond the default template, you'll see them listed here.
| pageIndex | integer <int32> [ 1 .. 2147483647 ] Default: 1 One based. |
| pageSize | integer <int32> [ 1 .. 50 ] Default: 5 |
{- "Data": [
- {
- "Id": "string",
- "Name": "string"
}
], - "Page": 1,
- "PageSize": 10,
- "TotalCount": 53
}| Type required | string (DeliveryType) Enum: "DigitalDelivery" "PhysicalShipment" "Links" |
required | Array of objects (OrderRequestLineItem) |
object (OrderPersonalization) | |
| PONumber required | string [ 1 .. 100 ] characters Identifier for the order set by the caller. Must be unique. |
| Note | string or null <= 250 characters Optional text pass-through. |
| DepartmentId | string or null <= 50 characters Id of department that will be associated with the order. Not to be provided unless configured. MUST be provided if configured. |
object (OrderRequestWebhookSettings) |
{- "Type": "DigitalDelivery",
- "LineItems": [
- {
- "ProductId": "PRODUCTA",
- "Value": 5,
- "Quantity": 1,
- "DigitalDeliveryAddress": {
- "Email": "user@example.com"
}, - "Personalization": {
- "To": "Gift Recipient",
- "FromEmail": "sender@example.com",
- "Message": "Enjoy your gift card!"
}
}
], - "PONumber": "EX-123-789"
}{- "Id": "string",
- "Timestamp": "2020-03-14T01:46:49Z",
- "Date": "string",
- "Status": "Pending",
- "LineItems": [
- {
- "Id": "string",
- "Status": "Pending",
- "ClaimData": [
- {
- "Id": "string",
- "ClaimTimestamp": "2020-03-14T01:46:49Z",
- "ClaimLinkChallengeAnswer": "ABC123",
- "BarcodeChars": "string",
- "BarcodeType": "None",
- "Codes": [
- {
- "Label": "Gift Card Number",
- "Value": "1234567890123456"
}
]
}
], - "Cost": 71.5,
- "ExternalId": "string",
- "ProductId": "MGWGCPB",
- "ProductVariantId": "string",
- "Value": 75,
- "Quantity": 1,
- "Culture": "en-US",
- "BrandingId": "string",
- "PhysicalDeliveryAddress": {
- "ShippingMethodId": "string",
- "CarrierId": "PCK-123",
- "ShipmentId": "A",
- "Name": "Recipient Name",
- "AddressLine1": "315 Main Street",
- "AddressLine2": "Second Floor",
- "AddressLine3": "string",
- "City": "Huntington",
- "State": "NY",
- "Zip": "11743",
- "Country": "US"
}, - "DigitalDeliveryAddress": {
- "Sms": "1234567890",
- "Email": "example@example.com"
}, - "Personalization": {
- "To": "string",
- "FromName": "string",
- "FromEmail": "string",
- "Message": "string",
- "DeliveryDate": "2019-01-27T01:14:00Z"
}, - "CardholderInformation": {
- "PhoneNumber": "5554445555",
- "Email": "string",
- "Name": "Recipient Name",
- "AddressLine1": "315 Main Street",
- "AddressLine2": "Second Floor",
- "AddressLine3": "string",
- "City": "Huntington",
- "State": "NY",
- "Zip": "11743",
- "Country": "US"
}
}
], - "CurrencyCode": "USD",
- "Type": "DigitalDelivery",
- "Personalization": {
- "PhotoUrl": "string",
- "GreetingUrl": "string",
- "VideoUrl": "string"
}, - "PONumber": "PO-123456789",
- "Note": "Placed for XYZ recipients",
- "DepartmentId": "Dept123",
}| pageIndex | integer <int32> [ 1 .. 2147483647 ] Default: 1 One based. |
| pageSize | integer <int32> [ 1 .. 50 ] Default: 5 |
| startDate | string <date-time> |
| endDate | string <date-time> |
| poNumber | string |
| productId | string |
| recipientName | string |
| recipientEmail | string |
| recipientSms | string |
{- "Data": [
- {
- "Id": "string",
- "Timestamp": "2020-03-14T01:46:49Z",
- "Date": "string",
- "Status": "Pending",
- "LineItems": [
- {
- "Id": "string",
- "Status": "Pending",
- "ClaimData": [
- {
- "Id": "string",
- "ClaimTimestamp": "2020-03-14T01:46:49Z",
- "ClaimLinkChallengeAnswer": "ABC123",
- "BarcodeChars": "string",
- "BarcodeType": "None",
- "Codes": [
- {
- "Label": "Gift Card Number",
- "Value": "1234567890123456"
}
]
}
], - "Cost": 71.5,
- "ExternalId": "string",
- "ProductId": "MGWGCPB",
- "ProductVariantId": "string",
- "Value": 75,
- "Quantity": 1,
- "Culture": "en-US",
- "BrandingId": "string",
- "PhysicalDeliveryAddress": {
- "ShippingMethodId": "string",
- "CarrierId": "PCK-123",
- "ShipmentId": "A",
- "Name": "Recipient Name",
- "AddressLine1": "315 Main Street",
- "AddressLine2": "Second Floor",
- "AddressLine3": "string",
- "City": "Huntington",
- "State": "NY",
- "Zip": "11743",
- "Country": "US"
}, - "DigitalDeliveryAddress": {
- "Sms": "1234567890",
- "Email": "example@example.com"
}, - "Personalization": {
- "To": "string",
- "FromName": "string",
- "FromEmail": "string",
- "Message": "string",
- "DeliveryDate": "2019-01-27T01:14:00Z"
}, - "CardholderInformation": {
- "PhoneNumber": "5554445555",
- "Email": "string",
- "Name": "Recipient Name",
- "AddressLine1": "315 Main Street",
- "AddressLine2": "Second Floor",
- "AddressLine3": "string",
- "City": "Huntington",
- "State": "NY",
- "Zip": "11743",
- "Country": "US"
}
}
], - "CurrencyCode": "USD",
- "Type": "DigitalDelivery",
- "Personalization": {
- "PhotoUrl": "string",
- "GreetingUrl": "string",
- "VideoUrl": "string"
}, - "PONumber": "PO-123456789",
- "Note": "Placed for XYZ recipients",
- "DepartmentId": "Dept123",
}
], - "Page": 1,
- "PageSize": 10,
- "TotalCount": 53
}{- "Id": "string",
- "Timestamp": "2020-03-14T01:46:49Z",
- "Date": "string",
- "Status": "Pending",
- "LineItems": [
- {
- "Id": "string",
- "Status": "Pending",
- "ClaimData": [
- {
- "Id": "string",
- "ClaimTimestamp": "2020-03-14T01:46:49Z",
- "ClaimLinkChallengeAnswer": "ABC123",
- "BarcodeChars": "string",
- "BarcodeType": "None",
- "Codes": [
- {
- "Label": "Gift Card Number",
- "Value": "1234567890123456"
}
]
}
], - "Cost": 71.5,
- "ExternalId": "string",
- "ProductId": "MGWGCPB",
- "ProductVariantId": "string",
- "Value": 75,
- "Quantity": 1,
- "Culture": "en-US",
- "BrandingId": "string",
- "PhysicalDeliveryAddress": {
- "ShippingMethodId": "string",
- "CarrierId": "PCK-123",
- "ShipmentId": "A",
- "Name": "Recipient Name",
- "AddressLine1": "315 Main Street",
- "AddressLine2": "Second Floor",
- "AddressLine3": "string",
- "City": "Huntington",
- "State": "NY",
- "Zip": "11743",
- "Country": "US"
}, - "DigitalDeliveryAddress": {
- "Sms": "1234567890",
- "Email": "example@example.com"
}, - "Personalization": {
- "To": "string",
- "FromName": "string",
- "FromEmail": "string",
- "Message": "string",
- "DeliveryDate": "2019-01-27T01:14:00Z"
}, - "CardholderInformation": {
- "PhoneNumber": "5554445555",
- "Email": "string",
- "Name": "Recipient Name",
- "AddressLine1": "315 Main Street",
- "AddressLine2": "Second Floor",
- "AddressLine3": "string",
- "City": "Huntington",
- "State": "NY",
- "Zip": "11743",
- "Country": "US"
}
}
], - "CurrencyCode": "USD",
- "Type": "DigitalDelivery",
- "Personalization": {
- "PhotoUrl": "string",
- "GreetingUrl": "string",
- "VideoUrl": "string"
}, - "PONumber": "PO-123456789",
- "Note": "Placed for XYZ recipients",
- "DepartmentId": "Dept123",
}Fetch portal-configured departments (if enabled)
| pageIndex | integer <int32> [ 1 .. 2147483647 ] Default: 1 One based. |
| pageSize | integer <int32> [ 1 .. 50 ] Default: 5 |
{- "Data": [
- {
- "Id": "string",
- "Name": "string"
}
], - "Page": 1,
- "PageSize": 10,
- "TotalCount": 53
}