Approvals
Submit an Approval Action
Approve or reject a change request waiting for approval (a transaction, vault, contact, or bank account) with a signed approval message.
Request example
Response example
POST
/api/external/change_requests/approvals/{approvalId}/action/
Send the signed approval message from Get Approval Message to approve or reject. See Approvals for the full flow.
Path parameter
The
approvalId returned by Get Approval Message.Request body
approve or reject. See ApprovalAction.Hex-encoded ECDSA (SHA-256) signature of the approval
message, made with your API user’s private key.Response
Returns an ApprovalActionResponse.After you approve, fetch the entity to confirm its state:
- Transaction: Retrieve a Transaction or webhooks until it reaches
COMPLETED,FAILED, orDECLINED. - Vault: Retrieve a Vault.
- Contact: Retrieve a Contact. Status moves from
PENDINGtoAPPROVEDorDECLINED. - Bank account: Retrieve a Bank Account. Status moves from
PENDINGtoAPPROVEDorDECLINED.
Request example
Response example