curl --request POST \
--url https://api.nuwebgroup.com/v1/wallets/transactions/confirm \
--header 'Authorization: Bearer <token>'{
"data": {
"type": "walletTransactions",
"id": 1,
"attributes": {
"customerId": 1,
"walletId": 123,
"typeId": 16,
"typeSlug": "transfer_out",
"typeName": "Transfer Out",
"amount": -500,
"oldBalance": 1000,
"newBalance": 500,
"createdAt": "2021-11-26T11:59:00.000000Z",
"updatedAt": "2021-11-26T11:59:00.000000Z",
"confirmedAt": "2021-11-26T12:00:00.000000Z"
}
}
}Confirms a pending wallet transaction that was created with the pending flag. This should not be used to confirm a payout.
curl --request POST \
--url https://api.nuwebgroup.com/v1/wallets/transactions/confirm \
--header 'Authorization: Bearer <token>'{
"data": {
"type": "walletTransactions",
"id": 1,
"attributes": {
"customerId": 1,
"walletId": 123,
"typeId": 16,
"typeSlug": "transfer_out",
"typeName": "Transfer Out",
"amount": -500,
"oldBalance": 1000,
"newBalance": 500,
"createdAt": "2021-11-26T11:59:00.000000Z",
"updatedAt": "2021-11-26T11:59:00.000000Z",
"confirmedAt": "2021-11-26T12:00:00.000000Z"
}
}
}The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your admin user credentials.
The transaction ID of the pending transaction which requires confirmation.
Successfully confirmed the pending transaction.
Show child attributes