cURL
curl --request PUT \ --url https://api.peere.network/v1/bank/customer-decisions/{customerDecisionId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "decision": "approve_once", "spendingLimits": {}, "blockMerchant": true } '
{ "statusCode": 200, "success": true, "message": "Customer decision updated successfully", "data": { "id": "<string>", "decision": "<string>" } }
Update an existing customer decision.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
approve_once
approve_recurring
deny
suspended
Customer decision updated successfully
200
true
"Customer decision updated successfully"
Show child attributes