v1 - Card Transactions

Reset card transaction

Reverses a posted card transaction's ledger entries and returns it to an editable state

post/v1/card-transactions/{transactionId}/reset

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

transactionIdstring uuid required

Response

default response

idstring uuid
companyIdstring uuid
companyEntityIdstring uuid
cardBalanceAccountIdstring uuid
cardIdstring uuid
providerIdstring
originalAmountinteger
originalCurrencystring
amountinteger
currencystring
direction'DEBIT' | 'CREDIT'

⚠️ This enum is not exhaustive; new values may be added in the future.

transactionReason'ACCOUNT_NOT_ACTIVE' | 'AMOUNT_LIMIT_EXCEEDED' | 'APPROVAL_EXPIRED' | 'APPROVED' | 'AUTHENTICATION_FAILED' | 'AUTHENTICATION_REQUIRED' | 'BALANCE_ACCOUNT_BLOCKED_BY_RULE' | 'CALL_REFERRAL' | 'CANCELLED' | 'CARD_BLOCKED' | 'CARD_CAPTURED' | 'CARD_EXPIRED' | 'CARD_LOST_OR_STOLEN' | 'CARD_RESTRICTED' | 'CARD_VERIFICATION_FAILED' | 'CASHBACK_LIMIT_EXCEEDED' | 'CONTACTLESS_FALLBACK' | 'CONTACTLESS_LIMIT_REACHED' | 'COUNTERPARTY_ACCOUNT_UNAVAILABLE' | 'COUNTERPARTY_ADDRESS_REQUIRED' | 'COUNTERPARTY_BANK_UNAVAILABLE' | 'CRYPTOGRAPHIC_FAILURE' | 'DECLINED' | 'DECLINED_BY_BAP_VALIDATION' | 'DECLINED_BY_TRANSACTION_RULE' | 'DECLINED_NON_GENERIC' | 'DOMESTIC_DEBIT_NOT_ALLOWED' | 'DO_NOT_HONOR' | 'DUPLICATE_TRANSMISSION' | 'FORMAT_ERROR' | 'FRAUD' | 'HONOR_WITH_ID' | 'INSUFFICIENT_FUNDS' | 'INTERNAL_TIMEOUT' | 'INVALID_ACCOUNT' | 'INVALID_AMOUNT' | 'INVALID_AUTHORIZATION_LIFECYCLE' | 'INVALID_CARD' | 'INVALID_ISSUER' | 'INVALID_MERCHANT' | 'INVALID_TRANSACTION' | 'ISSUER_SUSPECTED_FRAUD' | 'MOBILE_PIN_REQUIRED' | 'NOT_SUBMITTED' | 'NO_ACCOUNT_OF_TYPE' | 'OTHER' | 'PARTIALLY_APPROVED' | 'PENDING' | 'PIN_INVALID' | 'PIN_NOT_CHANGED' | 'PIN_REQUIRED' | 'PIN_TRIES_EXCEEDED' | 'PIN_VALIDATION_NOT_POSSIBLE' | 'PROVIDER_ERROR' | 'PURCHASE_AMOUNT_ONLY_NO_CASHBACK' | 'REFUSED_BY_COUNTERPARTY_BANK' | 'REFUSED_BY_CUSTOMER' | 'REVOCATION_OF_AUTH' | 'ROUTE_NOT_FOUND' | 'SCHEME_ADVICE' | 'SECURITY_VIOLATION' | 'TRANSACTION_NOT_PERMITTED' | 'TRANSFER_INSTRUMENT_NOT_FOUND' | 'TRANSFER_NOT_SUPPORTED' | 'UNKNOWN' | 'WITHDRAWAL_AMOUNT_EXCEEDED' | 'WITHDRAWAL_COUNT_EXCEEDED'

⚠️ This enum is not exhaustive; new values may be added in the future.

purchaseType'ATM' | 'BALANCE_INQUIRY' | 'ECOMMERCE' | 'POS' | 'RECURRING' | 'UNKNOWN' | 'OTHER'

⚠️ This enum is not exhaustive; new values may be added in the future.

status'AUTHORIZED' | 'DECLINED' | 'CAPTURED' | 'REFUNDED' | 'VOIDED' | 'POSTED'

⚠️ This enum is not exhaustive; new values may be added in the future.

type'PAYMENT' | 'REFUND' | 'OTHER'

⚠️ This enum is not exhaustive; new values may be added in the future.

receiptDocumentKeystring
editStatus'ALL_EDITS_ALLOWED' | 'LINE_AMOUNT_EDITS_LOCKED' | 'ALL_EDITS_LOCKED'

⚠️ This enum is not exhaustive; new values may be added in the future.

descriptionstring
performedAtstring date-time
createdAtstring date-time
updatedAtstring date-time
updatedBystring uuid

Example response

{
  "originalCurrency": "USD",
  "currency": "USD"
}

Changes

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