curl -X POST https://api.liddie.io/api/v1/payments/refunds/send-email-code \
-H "Authorization: Bearer <dashboard JWT>"
// Dashboard-session endpoint: send the JWT as a Bearer token.
const response = await fetch('https://api.liddie.io/api/v1/payments/refunds/send-email-code', {
method: 'POST',
headers: { 'Authorization': 'Bearer <dashboard JWT>' },
});
Refunds
Send refund email code
Send a single-use email code to authorize refund creation from the Liddie dashboard — pass it as the emailCode MFA factor when calling create refund.
POST
/
api
/
v1
/
payments
/
refunds
/
send-email-code
curl -X POST https://api.liddie.io/api/v1/payments/refunds/send-email-code \
-H "Authorization: Bearer <dashboard JWT>"
// Dashboard-session endpoint: send the JWT as a Bearer token.
const response = await fetch('https://api.liddie.io/api/v1/payments/refunds/send-email-code', {
method: 'POST',
headers: { 'Authorization': 'Bearer <dashboard JWT>' },
});
Emails a single-use code to the account’s email address. On the dashboard (JWT) path, that code is the fresh strong factor you pass as
emailCode on Create a refund.
This endpoint takes no parameters — the recipient email is inferred from your dashboard session, so the empty playground is expected.
curl -X POST https://api.liddie.io/api/v1/payments/refunds/send-email-code \
-H "Authorization: Bearer <dashboard JWT>"
// Dashboard-session endpoint: send the JWT as a Bearer token.
const response = await fetch('https://api.liddie.io/api/v1/payments/refunds/send-email-code', {
method: 'POST',
headers: { 'Authorization': 'Bearer <dashboard JWT>' },
});
Authorization
JWT only — API keys cannot call it. Requires team permissionrefunds:manage. Rate limit 3 / 15 min.
The code is single-use and the rate limit is 3 requests per 15 minutes — request it only when the user is ready to confirm, then submit it as
emailCode on Create a refund.See also
- Create a refund: submit the emailed code as the
emailCodebody field. - Authentication: why dashboard refunds require a fresh strong factor.
- Route map: every refund endpoint at a glance.