Bulk Update Pending Approvals

post/api/v2/admin/pendingApprovals

Update multiple pending approvals to add video Id to a pending approval or approve/reject the video Id.

Request Body

state string required
The state update to apply on the pending approvals
Allowed values: approved rejected
pendingApprovalIds array[string] required
Ids of the pending approvals to update
otp string required
Min length: >= 1 characters
videoApprover string
User Id of the video approver. User must be a valid video approver in all pending approvals to be updated
Min length: >= 1 characters
videoLink string
Video link to be added to the pending approvals
Min length: >= 1 characters
videoException string
Video exception to be added to the pending approvals
Min length: >= 1 characters
memo string
Memo for video Id verification

200 Response

pendingApprovals array[object] required
List of updated pending approvals
id string
Public ID of the pending approval
ofcCreatorUserName string
Username of the ofc transfer creator (Only returned for Backing wallet transactions)
ofcCreator string
Public ID of the ofc transfer creator (Only returned for Backing wallet transactions)
ofcEnterprise string
Public ID of the enterprise associated with the ofc transfer (Only returned for Backing wallet transactions)
ofcEnterpriseName string
Name of the enterprise associated with the ofc transfer (Only returned for Backing wallet transactions)
ofcWallet string
Public ID of the wallet associated with the ofc transfer (Only returned for Backing wallet transactions)
ofcTransferState string
The state of the OFC transfer
ofcTransferComment string
The comment of the OFC transfer
enterpriseName string
The name of the enterprise that is associated with the pending approval
isRetailEnterprise boolean
If the enterprise that is associated with the pending approval is a retail
enterpriseFeatureFlags array[string]
The feature flags of the enterprise
organization string
Public ID of the organization
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
organizationName string
The name of the organization
creatorUserName string
The username of the creator
creatorPermissions array[string]
The permissions of the creator
walletLabel string
The label of the wallet
approvedVideoUsers array[object]
The approved video users
info object
recipientsInfo array[object]
Information about the recipients of the transaction
wallet string
Public ID of the wallet
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
txRequestId string <uuid>
The ID of the transaction request
Example: 123e4567-e89b-12d3-a456-426614174000
vaspId string
The ID of the VASP
transferId string
Public ID of the transfer
associatedInquiries array[object]
The associated inquiries
state string
State of the PA

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

422 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

500 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id