Set what an account requires before a payment leaves: the threshold, how many approvers, whether the requester may approve, how long a request waits
PUT
/payment-approvals/policies/{account_id}Path parameters
account_idstringRequiredHeaders
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
approvers_requiredintegerOptional1 (default) to 3
enabledboolean or nullOptionalexpires_hoursintegerOptional72 by default
self_approvalbooleanRequiredWhether the requester may approve
threshold_amountintegerRequiredPayments at or above wait for approval; 0 is every payment
tiersarray of objectsOptional2 child attributes
approvers_requiredintegerRequiredthreshold_amountintegerRequiredReturns
200 OK
account_idstringRequiredExample acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm
approvers_requiredintegerRequiredenabledbooleanRequiredexpires_hoursintegerRequiredself_approvalbooleanRequiredthreshold_amountintegerRequiredtiersarray of objectsOptional2 child attributes
approvers_requiredintegerRequiredthreshold_amountintegerRequiredupdated_atstring · date-timeRequiredupdated_bystringRequiredErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503