transactions
aid_cards_transactions_post
Create a transaction against a Card using token or card_id. If the Transactions is created as pending, the value will be locked until it is either captured or voided. Transaction ID must be used when capturing or voiding a transaction.
Using card_id or creating a fund transaction requires authorization scope admin:wallets or write:wallets
scopes:
- admin:wallets
- write:wallets
- write:wallets:/transactions
post/accounts/{aid}/wallets/transactions
Path parameters
aidstring ^[PT]{1}\d{8}$ required
An id that uniquely identifies the account.
Request body
Example request
{
"created_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"metadata": {
"order_id": "xk39592f"
},
"amount": 50000,
"currency": "NOK"
}Response
Transaction created