Transaction
Represents a wallet transaction.
Transaction id
544232
Transaction slip Id.
5009964049
Wallet customer id.
5435323362
Account Id associated with this transaction.
212345
Represents the type of the transaction.
Possible values: [DEPOSIT
, WITHDRAWAL
, PAYOUT
, CHARGEBACK_REVERSAL
, RETURNED_WITHDRAWAL
, CHARGEBACK
, MERCHANT_FEE
, TRANSACTION_FEE
, STANDALONE_FEE
, DAILY_TRANSACTIONS_FEE
, TRANSFER_IN
, TRANSFER_OUT
, TRANSFER_RETURN
, REFUND
, CURRENCY_EXCHANGE
, PAYSAFE_FEE
, PREPAID_CARD
, PREPAID_CARD_AUTHORIZATION
, APPLICATION_FEE
, SET_UP_FEE
, MONTHLY_MAINTENANCE_FEE
]
DEPOSIT
Transaction amount in minor units.
1000
Currency alphabetic code as specified by ISO 4217
Possible values: >= 3 characters
and <= 3 characters
EUR
Transaction fee in minor units. Deprecated in favor of fees
field.
100
fees object[]
Customer fees attached to the transaction.
Amount of the merchant payment, in mintor units. If currency
is not specified, then the main transaction currency is used.
0
1000
Currency alphabetic code as specified by ISO 4217
Possible values: >= 3 characters
and <= 3 characters
EUR
Fee payment reason.
- SENDER_FEE - Fee that will be applied to sender party of transfer collected into partner merchant wallet.
- RECIPIENT_FEE - Fee that will be applied to recipient client of transfer collected into partner merchant wallet.
- DEPOSIT_FEE - Fee charged for deposit transactions collected into partner merchant wallet.
- WITHDRAWAL_FEE - Fee charged for withdrawal transactions collected into partner merchant wallet.
- MERCHANT_FEE - Fee for the payment service collected into partner merchant wallet.
- PAYSAFE_FEE - Fee collected by Paysafe for the provided payment service. Usually Paysafe Fee is not directly applied to customer transactions.
- ATM_FEE - Fee for ATM service, when using prepaid cards.
- FX_FEE - Fee applied, when payment requires currency exchange.
- OTHER_FEE - It could be used for any additional, unspecified fees that may be applied to a transaction
Possible values: [MERCHANT_FEE
, ATM_FEE
, FX_FEE
, PAYSAFE_FEE
, OTHER_FEE
, SENDER_FEE
, RECIPIENT_FEE
, DEPOSIT_FEE
, WITHDRAWAL_FEE
]
OTHER_FEE
Transaction direction.
Possible values: [CREDIT
, DEBIT
]
ID of the payment instrument. Deprecated in favour of instrumentDetails.instrumentId field.
Type of the instrument. Deprecated in favour of instrumentDetails.instrumentType field.
Possible values: [SEPA_BANK_ACCOUNT
, UK_BANK_ACCOUNT
, US_BANK_ACCOUNT
, CCI_BANK_ACCOUNT
, CARD
]
CARD
Type of instrument. Used as discriminator for different Payment types.
- CARD
- BANK_TRANSFER
- RAPID_TRANSFER
- TRANSFER
Possible values: [CARD
, BANK_TRANSFER
, RAPID_TRANSFER
, TRANSFER
]
Represents the status of a transaction.
- PENDING - Transaction is created and further action is required by the customer.
- PROCESSING - Transaction is scheduled for processing by the payment provider.
- COMPLETED - Transaction is completed. Note that some transactions might be completed from Embedded Wallet point of view, but not from customer point of view, since money movement might take some time outside of the Embedded Wallet network.
- FAILED - Transaction is failed. Check STATUS_REASON property for details.
- CANCELLED - Transaction have been cancelled
- REFUNDED - Valid only for deposit transactions.
- DECLINED - Transaction is declined.
- REVERSED - An approved authorization was reversed by merchant's acquiring bank. On rare occasions, an authorization can also be reversed due to the approval taking longer than expected. As a result, Paysafe reverses a previously approved authorization to update the balance accordingly.
Possible values: [PENDING
, PROCESSING
, COMPLETED
, FAILED
, CANCELLED
, REFUNDED
, DECLINED
, REVERSED
]
COMPLETED
Status reason for FAILED transactions. See TransactionStatusReason for available values.
Possible values: <= 60 characters
Customer identifier used in Partner system.
Possible values: non-empty
and <= 40 characters
af5c8b52-0afd-4799-85ab-fe659a076932
Balance of the account after the transaction in minor currency units.
Additional reference information for the recipient passed by the sender of the transaction. This information is not valid or present for all transaction types.
fxAmount object
(In Development)
Contains the amount in converted currency during currency conversion.
Converted amount (in minor units).
Currency conversion rate.
Currency alphabetic code as specified by ISO 4217
Possible values: >= 3 characters
and <= 3 characters
EUR
transferDetails object
Represents the details of a transfer.
The actual purpose of the transfer.
- INITIAL_BALANCE_MIGRATION - After customer onboarding, migrations of existing balances.
- CRYPTO_BUY - The customer is buying crypto or other assets.
- CRYPTO_SELL - The customer is selling crypto or other assets.
- TRADING_PAIR - The transfer represents a trading pair transaction between customers with wallets.
- DEPOSIT - Crediting the customer's wallet via non-Paysafe deposit options.
- WITHDRAWAL - Debiting the customer's wallet via non-Paysafe withdrawal options.
- MERCHANT_FEE - Charging a merchant fee.
- REFUND - Refunding the customer on a previous transaction.
- CANCELATION - Cancelation of a previous transaction.
- BONUS - Customer is granted a bonus.
- CURRENCY_EXCHANGE - Converting one currency to another.
- PURCHASE - The customer is purchasing goods or services from a merchant.
- PAYOUT - The merchant is compensating a customer for goods or services.
- PEER_TRANSFER - Money transfer between customers with wallets.
- OTHER - Any reason not explicitly mentioned in the transfers.
- CARD_REPLACEMENT_FEE - Fee for replacing a card that is lost, stolen, or damaged.
- CARD_FEE - Fee charged on funds paid on to the card.
- ATM_FEE - Fee for funds withdrawal on ATM.
- INACTIVITY_FEE - Fee charged for lack of transactions or authorizations.
- FX_FEE - Fee related to currency exchange.
- DISPUTE_FEE - Fee charged for resolving disputes related to payments, such as suspected fraud or unfulfilled goods/services.
Possible values: [INITIAL_BALANCE_MIGRATION
, CRYPTO_BUY
, CRYPTO_SELL
, TRADING_PAIR
, DEPOSIT
, WITHDRAWAL
, MERCHANT_FEE
, REFUND
, CANCELATION
, BONUS
, CURRENCY_EXCHANGE
, PURCHASE
, PAYOUT
, PEER_TRANSFER
, OTHER
, CARD_REPLACEMENT_FEE
, CARD_FEE
, ATM_FEE
, INACTIVITY_FEE
, FX_FEE
, DISPUTE_FEE
]
Human readable description for the transfer.
Possible values: <= 200 characters
cardPaymentDetails objectdeprecated
Details about a payment with customer's card.
This class is deprecated because it is now part of 'PaymentInstrumentTransactionDetails' with new name 'PrepaidCardInstrumentTransactionDetails'.
Prepaid card ID.
Mobile wallet type.
Possible values: [GOOGLE_PAY
, APPLE_PAY
, SAMSUNG_PAY
]
Obfuscated card number.
*1234
merchantDetails object
Merchant name.
Starbucks
location object
Merchant location city.
Merchant location state.
Merchant location zip.
mcc object
Merchant category id.
Merchant category name.
Amount paid with customer's card, in minor units.
1200
Currency alphabetic code as specified by ISO 4217
Possible values: >= 3 characters
and <= 3 characters
EUR
peerDetails object
Represents the details of a peer.
Peer first name.
John
Peer last name.
Doe
instrumentDetails object
Represents details about a customer's payment instrument.
Instrument ID.
123456789
Represents the type of an instrument.
| Value | Description| |---|---| | CARD | Card | | PREPAID_CARD | Prepaid Card | | SEPA_BANK_ACCOUNT| SEPA Bank account | | US_BANK_ACCOUNT | US Bank account | | UK_BANK_ACCOUNT | UK Bank account | | CCI_BANK_ACCOUNT | CCI Bank account |
Possible values: [CARD
, PREPAID_CARD
, SEPA_BANK_ACCOUNT
, US_BANK_ACCOUNT
, UK_BANK_ACCOUNT
, CCI_BANK_ACCOUNT
]
{
"id": "544232",
"slipId": "5009964049",
"customerId": "5435323362",
"accountId": "212345",
"type": "DEPOSIT",
"amount": 1000,
"currencyCode": "EUR",
"fees": [
{
"amount": 1000,
"currency": "EUR",
"paymentReason": "OTHER_FEE"
}
],
"creationTime": "2021-07-15T17:54:12Z",
"lastChangeDate": "2021-07-15T17:54:12Z",
"direction": "CREDIT",
"instrumentType": "CARD",
"paymentType": "CARD",
"status": "COMPLETED",
"statusReason": "string",
"merchantRefNum": "af5c8b52-0afd-4799-85ab-fe659a076932",
"balance": 0,
"recipientReference": "string",
"fxAmount": {
"amount": 0,
"rate": 0,
"currency": "EUR"
},
"transferDetails": {
"reason": "INITIAL_BALANCE_MIGRATION",
"description": "string"
},
"peerDetails": {
"firstName": "John",
"lastName": "Doe"
},
"instrumentDetails": {
"instrumentId": "123456789",
"instrumentType": "CARD"
}
}