novinzodevelopers
Your store's APIApps referenceReseller finance

Dismiss Top Up

POST/admin/top-ups/{topUpId}/dismiss

Closes an unclaimed top-up without crediting anyone, once the seller refunded its order in core.

Path Parameters

topUpId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

note*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/admin/top-ups/string/dismiss" \  -H "Content-Type: application/json" \  -d '{    "note": "string"  }'
{  "id": "string",  "orderId": "string",  "variantId": "string",  "customerEmail": "string",  "units": 1,  "amountMinor": 0,  "bonusMinor": 0,  "currency": "AED",  "status": "credited",  "membershipId": "string",  "note": "string",  "createdAt": "string",  "resolvedAt": "string",  "refundedAt": "string"}