Skip to main content
POST
Sell a gift card

Authorizations

Authorization
string
header
required

Your API key.

Body

customer_id
string
required

The customer's id.

giftcard_id
integer
required

From the gift cards list.

amount
required

Card value in US dollars, at least the card's minimum.

reference
string
required

Your own unique id for this sale (up to 64 letters, numbers and . _ : -). Sending the same reference again returns the original instead of doing it twice.

ecode
string

The card code, for e-codes. Required unless you send attachments.

comment
string

Anything the reviewer should know (up to 500 characters).

Response

Sell a gift card

status
enum<string>
Available options:
success,
error
message
string
data
object