v34

latestOpenAPI 3.0.1raw.githubusercontent.com2026-01-20203250.6 KB
Events

Write a list of events to the ledger database

post/v1/event

Response

OK

amountinteger
card_brandstring
event_datestring date-time
event_typestring
gateway_account_idstring
is_motoboolean
is_recurringboolean
payment_providerstring
resource_external_idstring
resource_type'agreement' | 'payment' | 'refund' | 'service' | 'card_payment' | 'payout' | 'dispute' | 'payment_instrument'
service_external_idstring
sourcestring
transaction_typestring
wallet_typestring

Example response

[
  {
    "amount": 100,
    "card_brand": "visa",
    "event_type": "PAYMENT_CREATED",
    "gateway_account_id": "1",
    "is_moto": true,
    "is_recurring": true,
    "payment_provider": "sandbox",
    "resource_external_id": "9np5pocnotgkpp029d5kdfau5f",
    "resource_type": "payment",
    "service_external_id": "HrMU7UgY7OUM8fgT2bZCTKzvKu",
    "source": "CARD_API",
    "transaction_type": "PAYMENT",
    "wallet_type": "APPLE_PAY"
  }
]