admin

Credits an identity ledger by email. Idempotent by `reason`.

post/admin/identities/credit

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/admin/identities/credit
  • Auth: HTTP bearer

Request body

emailstring required

Identity email (matched case-insensitively).

penceinteger required

Amount to credit, in pence (>= 1).

reasonstring required

Idempotency reason, e.g. stripe:cs_….

Response

New (or unchanged, when the reason was replayed) balance

balance_penceinteger required

Balance after this credit, in pence.

duplicateboolean required

true when the reason had already been applied (idempotent replay; nothing changed).

identity_idstring required

Identity whose ledger was credited.

Changes

No recorded changes to this operation across all 1 revision of this API.