Payment Object

{
  "_id": "63dd0691c20c103e096a6a41",
  "session": "63dd0691c20c103e096a6a43",
  "currency": "eur",
  "authorized_amount": 155.98,
  "captured_amount": 34.4,
  "type": "api_wallet",
  "status": "created",
  "wallet": "63d211c12abcb85f9c634b6e",
  "createdAt": "2023-02-03T13:05:21.986Z",
  "updatedAt": "2023-02-03T13:08:01.871Z",
}

Attributes

_id string

The Id of this Session Payment

session string

The Id of the Session

currency string

3 letter iso currency codes. See https://en.wikipedia.org/wiki/ISO_4217.

authorized_amount number

Amount authorized to start a session. When the session cost reaches this amount, the system will automatically try to stop this session.

captured_amount number

Amount captured once the session is ended. If the type = payment_link, the difference between the authorized amount and the captured amount will be refunded back.

type string

Either api_wallet or payment_link.

status string

The payment status (created, 'authorized, 'succeeded, canceled)

wallet string

Wallet id if the type = api_wallet