Skip to main content
Card payments move through Lemma in two opposite directions:
  • Issued debit cards spend money. Your platform issues a card against one of the entity’s bank accounts, and every purchase draws that balance down.
  • Acquiring collects money. Lemma charges a payer’s credit card and deposits the proceeds into the entity’s account.
Both appear in List transactions, told apart by source.category.

Issued debit cards

Cards your platform issues and controls. See Lifecycle of a Lemma card. Endpoints: A card payment groups everything that happened to one purchase: its authorization, settlements, refunds, or declines. Each element that posted money includes a transaction id, so a card payment reconciles against List transactions. Card payments cover every card that spends from an account you can read, including cards the entity’s staff issued in the Lemma app. Transaction sources. Each carries the card’s card_id:
  • card_authorization: a purchase approved but not yet settled.
  • card_settlement: a purchase that settled.
  • card_financial: a purchase authorized and settled in one step, such as an ATM withdrawal.
  • card_refund: a merchant’s refund to the card.
  • card_decline: a purchase that was declined.
  • card_dispute_financial: money credited or debited as a dispute on a purchase progresses. A dispute credits the account when it is filed with the card network, and debits it again if the merchant contests it or the dispute is lost.

Acquiring

Acquiring is how an entity collects revenue by card: Lemma charges a payer’s credit card on the entity’s behalf and deposits the proceeds into the entity’s bank account. It is unrelated to the debit cards your platform issues, which spend from an account rather than pay into it. Endpoints: Transaction sources:
  • acquiring_card_payment: a card payment Lemma collected.
  • acquiring_card_payment_fee: the processing fee for a card payment.
  • acquiring_refund: a refund to the payer.
  • acquiring_refund_fee: the processor’s fee for a refund.
  • acquiring_chargeback: a payment the cardholder disputed and took back.
  • acquiring_chargeback_fee: the processor’s fee for a chargeback.
  • acquiring_chargeback_reversal: a chargeback reversed, returning the payment.