Skip to main content
PUT
/
v1
/
bank
/
customer-decisions
/
{customerDecisionId}
Update Customer Decision
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerDecisionId
string
required

Body

application/json
decision
enum<string>
Available options:
approve_once,
approve_recurring,
deny,
suspended
spendingLimits
object
blockMerchant
boolean

Response

Customer decision updated successfully

statusCode
integer
Example:

200

success
boolean
Example:

true

message
string
Example:

"Customer decision updated successfully"

data
object