Issue a Gift Card Code

Create a new redeemable gift card code for a template. The code receives an initial balance equal to amount or the template face value, and an issue ledger entry is recorded.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string

Optional custom code. If omitted, the API generates a unique code (e.g. GC-A1B2C3D4E5F6).

int32

Optional issue amount in cents. Defaults to the template face value.

string
enum
Defaults to internal

Balance provider. Use internal for TRIFFT-managed balance. shopify is reserved for Shopify-linked cards.

Allowed:
string

External reference (e.g. Shopify gift card GID) when balance_source is shopify.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json