Get Transaction Invoice
Private
Get Transaction Invoice
Generate a PDF invoice for a transaction.
Only supports swap, buy, sell, and withdrawal transactions. Returns 501 Not Implemented for other transaction types.
GET
Get Transaction Invoice
Authorizations
Personal API key, created in the Digital Surge app under Account Settings → API Keys. Send it with every request as Authorization: Bearer <your-api-key>.
Path Parameters
A unique integer value identifying this transaction summary.
Response
200 - application/json
Serializer for TransactionSummary matching IndividualAssetWalletIOV2Serializer structure. All related field logic is pre-computed in the materialized view.
buy- Buysell- Sellswap- Swapdeposit- Depositwithdrawal- Withdrawalcommission- Commissionairdrop- Airdropstake- Stakeunstake- Unstakereward- Reward
Available options:
buy, sell, swap, deposit, withdrawal, commission, airdrop, stake, unstake, reward Convert transaction_subtype choice to V2 format.
Maximum string length:
50