Operations

Table of contents:

  • POST /operations/validate

  • POST /operations/activate

Introduction

This API provides operations management functionalities.

Operations

POST /operations/validate

Validate operation for a certain identity.

Request Parameters

Path parameters

Name
Type
Description
Constraints
Required

action

String

Operation action.

Enum: [create,confirm,cancel]

true

code

String

Operation code.

Enum: [deposit:wire,deposit:stablecoin,withdrawal:wire,withdrawal:stablecoin]

true

identityId

String

Identity id.

true

Response Options

204 OK

Request example:

POST <hostname>/operations/validate

Request example:

{
  "action": "create",
  "code": "deposit:wire",
  "identityId": "b0287254-df04-4793-8fbe-afa844150c91"
}

POST /operations/activate

Activate operation for a certain identity.

Request Parameters

Path parameters

Name
Type
Description
Constraints
Required

code

String

Operation code.

Enum: [deposit:wire,deposit:stablecoin,withdrawal:wire,withdrawal:stablecoin]

true

identityId

String

Identity id.

true

Response Options

204 OK

Request example:

POST <hostname>/operations/validate

Request example:

{
  "code": "deposit:wire",
  "identityId": "b0287254-df04-4793-8fbe-afa844150c91"
}

Last updated