API Reference

The ReloadCard API lets you manage gift cards programmatically. All endpoints use Bearer token authentication and return JSON.

Base URL

https://merchant.reloadcard.app/api/v1

Authentication

All API requests require a Bearer token. Generate API keys from your merchant dashboard under Settings → API Keys.

curl -H "Authorization: Bearer rc_live_your_api_key_here" \
  https://merchant.reloadcard.app/api/v1/cards

Authentication details →

Endpoints

Cards

MethodEndpointDescription
GET/cardsList all cards
POST/cardsCreate a new card
GET/cards/:uuidGet card details + transactions
POST/cards/:uuid/activateActivate with initial balance
POST/cards/:uuid/creditAdd balance
POST/cards/:uuid/debitRemove balance (POS redemption)
GET/cards/:uuid/balanceCheck balance
POST/cards/:uuid/disableDisable card permanently
POST/cards/:uuid/claimClaim a pre-loaded card
POST/cards/loadLoad money onto a card

Card endpoints in detail →

Batches

MethodEndpointDescription
POST/batches/:id/provisionProvision Shopify gift cards for a batch

Transfers

MethodEndpointDescription
GET/transfers/fx-rateGet exchange rate for cross-currency transfer

Store Credit

MethodEndpointDescription
POST/store-creditIssue store credit to a consumer

Store credit details →

Transactions

MethodEndpointDescription
GET/transactionsList all transactions

Webhooks

MethodEndpointDescription
POST/webhooksRegister a new webhook
GET/webhooksList all webhooks
PATCH/webhooks/:idUpdate a webhook (URL, events, active status)
DELETE/webhooks/:idDelete a webhook

Webhook endpoints in detail →

Idempotency

The debit and credit endpoints support idempotency keys to prevent duplicate operations. Include an Idempotency-Key header with a unique string (e.g., a UUID) for each request. If the same key is sent again within 24 hours, the original response is returned without re-processing the operation.

curl -X POST https://merchant.reloadcard.app/api/v1/cards/a1b2c3d4/debit \
  -H "Authorization: Bearer rc_live_your_key" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000" \
  -d '{ "amountCents": 1500, "note": "Order #1234" }'

Rate limits

EndpointLimit
Card create50 requests/minute
Activate20 requests/minute
Debit / Credit50 requests/minute
Store credit100 requests/hour
Read endpointsNo limit

Error codes

StatusMeaning
200Success
201Created
400Bad request — check your parameters
401Unauthorized — invalid or missing API key
404Not found — card doesn't exist or doesn't belong to you
409Conflict — card already in that state
429Rate limited — slow down
500Server error — retry or contact support