Download OpenAPI specification:
The Vality Wallet API is the base and only point of interaction with the wallet system. All system state changes are carried out by calling the corresponding API methods. Any third party applications, including our websites and other UIs, are external client applications. The Vality API works on top of the HTTP protocol. We use REST architecture, the scheme is described according to OpenAPI 2.0. Return codes are described by the corresponding HTTP statuses. The system accepts and returns JSON values in the body of requests and responses.
Any API request must be encoded in UTF-8 and must contain JSON content.
Content-Type: application/json; charset=utf-8
The system accepts and returns timestamp values in the date-time format described in RFC 3339:
2017-01-01T00:00:00Z
2017-01-01T00:00:01+00:00
In any API call, you can pass a timeout parameter in the X-Request-Deadline header of the corresponding request, which determines the maximum time to wait for the operation to complete on the request:
X-Request-Deadline: 10s
After the specified time has elapsed, the system stops processing the request. It is recommended to specify a value of no more than one minute, but no less than three seconds.
X-Request-Deadline can:
date-time format according to RFC 3339;150000ms), seconds (540s) or minutes (3.5m).During the processing of requests by our system, various unforeseen situations may occur. The system signals about their appearance via the HTTP protocol with the corresponding statuses, indicating server errors.
| Code | Description |
|---|---|
| 500 | An unexpected situation occurred while the system was processing the request. If you receive such a response code, we recommend that you contact technical support. |
| 503 | The system is temporarily unavailable and not ready to serve this request. The request is guaranteed to fail, if you receive a response code like this, try to implement it later when the system is restored to availability. |
| 504 | The system has exceeded the allowable request processing time, the result of the request is undefined. Try to resubmit the request or find out the result of the original request, if you do not want to re-execute the request. |
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| currencyID | string^[A-Z]{3}$ Currency, character code according to ISO 4217. |
| limit required | integer <int32> [ 1 .. 1000 ] Selection limit |
| continuationToken | string A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "continuationToken": "string",
- "result": [
- {
- "id": "10068321",
- "name": "Worldwide PHP Awareness Initiative",
- "isBlocked": false,
- "party": "string",
- "currency": "USD"
}
]
}| walletID required | string [ 1 .. 40 ] characters Identifier of the wallet |
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "10068321",
- "name": "Worldwide PHP Awareness Initiative",
- "isBlocked": false,
- "party": "string",
- "currency": "USD"
}| walletID required | string [ 1 .. 40 ] characters Identifier of the wallet |
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "own": {
- "amount": 1430000,
- "currency": "USD"
}, - "available": {
- "amount": 1200000,
- "currency": "USD"
}
}| walletID required | string [ 1 .. 40 ] characters Identifier of the wallet |
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "methods": [
- {
- "method": "WithdrawalMethodBankCard"
}
]
}| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| walletID | string [ 1 .. 40 ] characters Identifier of the wallet |
| depositID | string [ 1 .. 50 ] characters Identifier of the deposit |
| sourceID | string [ 1 .. 40 ] characters Identifier of the funds source |
| status | string Enum: "Pending" "Succeeded" "Failed" |
| createdAtFrom | string <date-time> Creation date from |
| createdAtTo | string <date-time> Creation date to |
| amountFrom | integer <int64> Amount of monetary funds in minor units |
| amountTo | integer <int64> Amount of monetary funds in minor units |
| currencyID | string^[A-Z]{3}$ Currency, character code according to ISO 4217. |
| limit required | integer <int32> [ 1 .. 1000 ] Selection limit |
| continuationToken | string A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "continuationToken": "string",
- "result": [
- {
- "id": "tZ0jUmlsV0",
- "createdAt": "2019-08-24T14:15:22Z",
- "wallet": "10068321",
- "source": "107498",
- "body": {
- "amount": 1430000,
- "currency": "USD"
}, - "fee": {
- "amount": 1430000,
- "currency": "USD"
}, - "externalID": "10036274",
- "desc": "string",
- "status": "Pending",
- "failure": {
- "code": "string",
- "subError": {
- "code": "string",
- "subError": { }
}
}
}
]
}| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| currencyID | string^[A-Z]{3}$ Currency, character code according to ISO 4217. |
| limit required | integer <int32> [ 1 .. 1000 ] Selection limit |
| continuationToken | string A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "continuationToken": "string",
- "result": [
- {
- "id": "107498",
- "name": "Squarey plastic thingy",
- "realm": "Live",
- "createdAt": "2019-08-24T14:15:22Z",
- "isBlocked": false,
- "party": "string",
- "currency": "USD",
- "resource": {
- "type": "BankCardDestinationResource"
}, - "additionalAuthData": {
- "type": "SenderReceiverDestinationAuthData"
}, - "metadata": {
- "color_hint": "olive-green"
}, - "externalID": "10036274"
}
]
}| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
Destination data
| name required | string A human-readable name for the destination by which it is easily recognizable |
| realm required | string Enum: "Live" "Test" Realm of destination. |
| party required | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| currency required | string^[A-Z]{3}$ Currency character code according to ISO 4217. |
required | object (DestinationResource) Destination resource used to make withdrawals |
object (DestinationAuthData) Destination auth data to make withdrawals | |
| metadata | object Some non-transparent for system set of data associated with this destination |
| externalID | string The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation. |
{- "name": "Squarey plastic thingy",
- "realm": "Live",
- "party": "string",
- "currency": "USD",
- "resource": {
- "type": "BankCardDestinationResource"
}, - "additionalAuthData": {
- "type": "SenderReceiverDestinationAuthData"
}, - "metadata": {
- "color_hint": "olive-green"
}, - "externalID": "10036274"
}{- "id": "107498",
- "name": "Squarey plastic thingy",
- "realm": "Live",
- "createdAt": "2019-08-24T14:15:22Z",
- "isBlocked": false,
- "party": "string",
- "currency": "USD",
- "resource": {
- "type": "BankCardDestinationResource"
}, - "additionalAuthData": {
- "type": "SenderReceiverDestinationAuthData"
}, - "metadata": {
- "color_hint": "olive-green"
}, - "externalID": "10036274"
}| destinationID required | string [ 1 .. 40 ] characters Identifier of the destination |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "107498",
- "name": "Squarey plastic thingy",
- "realm": "Live",
- "createdAt": "2019-08-24T14:15:22Z",
- "isBlocked": false,
- "party": "string",
- "currency": "USD",
- "resource": {
- "type": "BankCardDestinationResource"
}, - "additionalAuthData": {
- "type": "SenderReceiverDestinationAuthData"
}, - "metadata": {
- "color_hint": "olive-green"
}, - "externalID": "10036274"
}| externalID required | string External identifier |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "107498",
- "name": "Squarey plastic thingy",
- "realm": "Live",
- "createdAt": "2019-08-24T14:15:22Z",
- "isBlocked": false,
- "party": "string",
- "currency": "USD",
- "resource": {
- "type": "BankCardDestinationResource"
}, - "additionalAuthData": {
- "type": "SenderReceiverDestinationAuthData"
}, - "metadata": {
- "color_hint": "olive-green"
}, - "externalID": "10036274"
}| externalID required | string External identifier |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "tZ0jUmlsV0",
- "createdAt": "2019-08-24T14:15:22Z",
- "wallet": "10068321",
- "party": "string",
- "destination": "107498",
- "body": {
- "amount": 1430000,
- "currency": "USD"
}, - "fee": {
- "amount": 1430000,
- "currency": "USD"
}, - "metadata": {
- "notify_email": "iliketrains@example.com"
}, - "externalID": "10036274",
- "contactInfo": {
- "email": "user@example.com",
- "phoneNumber": "string"
}, - "quote": {
- "cashFrom": null,
- "cashTo": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresOn": "2019-08-24T14:15:22Z"
}, - "status": "Pending",
- "failure": {
- "code": "string",
- "subError": {
- "code": "string",
- "subError": { }
}
}
}Fixing the exchange rate for making withdrawals with conversion
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
Quote data for withdrawal
| externalID | string The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation. |
| walletID required | string Identifier of the wallet |
| partyID required | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| destinationID | string Destination identifier |
| currencyFrom required | string^[A-Z]{3}$ Source currency code |
| currencyTo required | string^[A-Z]{3}$ Target currency code |
required | object The amount of funds for receiving a quote in one of the exchange currencies |
{- "externalID": "10036274",
- "walletID": "10068321",
- "partyID": "string",
- "destinationID": "107498",
- "currencyFrom": "USD",
- "currencyTo": "USD",
- "cash": {
- "amount": 1430000,
- "currency": "USD"
}
}{- "cashFrom": {
- "amount": 1430000,
- "currency": "USD"
}, - "cashTo": {
- "amount": 1430000,
- "currency": "USD"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "expiresOn": "2019-08-24T14:15:22Z",
- "quoteToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5M\nDIyfQ.XbPfbIHMI6arZ3Y922BhjWgQzWXcXNrz0ogtVhfEd2o\n"
}| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| walletID | string [ 1 .. 40 ] characters Identifier of the wallet |
| withdrawalID | string [ 1 .. 40 ] characters Identifier of the funds withdrawal |
| externalID | string [ 1 .. 40 ] characters Identifier of the external's ID |
| destinationID | string [ 1 .. 40 ] characters Identifier of the destination |
| status | string Enum: "Pending" "Succeeded" "Failed" |
| createdAtFrom | string <date-time> Creation date range start |
| createdAtTo | string <date-time> Creation date range end |
| amountFrom | integer <int64> Amount of monetary funds in minor units |
| amountTo | integer <int64> Amount of monetary funds in minor units |
| currencyID | string^[A-Z]{3}$ Currency, character code according to ISO 4217. |
| limit required | integer <int32> [ 1 .. 1000 ] Selection limit |
| continuationToken | string A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "continuationToken": "string",
- "result": [
- {
- "id": "tZ0jUmlsV0",
- "createdAt": "2019-08-24T14:15:22Z",
- "wallet": "10068321",
- "party": "string",
- "destination": "107498",
- "body": {
- "amount": 1430000,
- "currency": "USD"
}, - "fee": {
- "amount": 1430000,
- "currency": "USD"
}, - "metadata": {
- "notify_email": "iliketrains@example.com"
}, - "externalID": "10036274",
- "contactInfo": {
- "email": "user@example.com",
- "phoneNumber": "string"
}, - "quote": {
- "cashFrom": null,
- "cashTo": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresOn": "2019-08-24T14:15:22Z"
}, - "status": "Pending",
- "failure": {
- "code": "string",
- "subError": {
- "code": "string",
- "subError": { }
}
}
}
]
}| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
Withdrawal data
| wallet required | string Identifier of the wallet |
| party required | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| destination required | string Destination identifier |
required | object Amount of funds to be withdrawn |
object Fee amount | |
| metadata | object Some non-transparent for system set of data associated with this withdrawal |
| externalID | string The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation. |
object Contact details | |
object Quote data for withdrawal | |
| quoteToken | string [ 1 .. 4000 ] characters Quote at which funds should be withdrawn. Must be obtained in advance for each individual withdrawal operation with conversion. |
{- "wallet": "10068321",
- "party": "string",
- "destination": "107498",
- "body": {
- "amount": 1430000,
- "currency": "USD"
}, - "fee": {
- "amount": 1430000,
- "currency": "USD"
}, - "metadata": {
- "notify_email": "iliketrains@example.com"
}, - "externalID": "10036274",
- "contactInfo": {
- "email": "user@example.com",
- "phoneNumber": "string"
}, - "quote": {
- "cashFrom": null,
- "cashTo": null
}, - "quoteToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5M\nDIyfQ.XbPfbIHMI6arZ3Y922BhjWgQzWXcXNrz0ogtVhfEd2o\n"
}{- "id": "tZ0jUmlsV0",
- "createdAt": "2019-08-24T14:15:22Z",
- "wallet": "10068321",
- "party": "string",
- "destination": "107498",
- "body": {
- "amount": 1430000,
- "currency": "USD"
}, - "fee": {
- "amount": 1430000,
- "currency": "USD"
}, - "metadata": {
- "notify_email": "iliketrains@example.com"
}, - "externalID": "10036274",
- "contactInfo": {
- "email": "user@example.com",
- "phoneNumber": "string"
}, - "quote": {
- "cashFrom": null,
- "cashTo": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresOn": "2019-08-24T14:15:22Z"
}, - "status": "Pending",
- "failure": {
- "code": "string",
- "subError": {
- "code": "string",
- "subError": { }
}
}
}| withdrawalID required | string [ 1 .. 40 ] characters Identifier of the withdrawal |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "tZ0jUmlsV0",
- "createdAt": "2019-08-24T14:15:22Z",
- "wallet": "10068321",
- "party": "string",
- "destination": "107498",
- "body": {
- "amount": 1430000,
- "currency": "USD"
}, - "fee": {
- "amount": 1430000,
- "currency": "USD"
}, - "metadata": {
- "notify_email": "iliketrains@example.com"
}, - "externalID": "10036274",
- "contactInfo": {
- "email": "user@example.com",
- "phoneNumber": "string"
}, - "quote": {
- "cashFrom": null,
- "cashTo": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresOn": "2019-08-24T14:15:22Z"
}, - "status": "Pending",
- "failure": {
- "code": "string",
- "subError": {
- "code": "string",
- "subError": { }
}
}
}| withdrawalID required | string [ 1 .. 40 ] characters Identifier of the withdrawal |
| limit required | integer <int32> [ 1 .. 1000 ] Selection limit |
| eventCursor | integer <int32> The identifier of the last known event. All events that occurred after the specified one will be included in the selection. If this parameter is not specified, the selection will include events starting from the very first one. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
[- {
- "eventID": 42,
- "occuredAt": "2019-08-24T14:15:22Z",
- "changes": [
- {
- "type": "WithdrawalStatusChanged"
}
]
}
]| withdrawalID required | string [ 1 .. 40 ] characters Identifier of the withdrawal |
| eventID required | integer <int32> Identifier of the identification procedure event. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "eventID": 42,
- "occuredAt": "2019-08-24T14:15:22Z",
- "changes": [
- {
- "type": "WithdrawalStatusChanged"
}
]
}| residence required | string^[A-Za-z]{3}$ The residence within which the services are provided, [ISO 3166-1] country or region code (https://en.wikipedia.org/wiki/ISO_3166-1) |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "RUS",
- "name": "The United States of America",
- "flag": "🇺🇸"
}| currencyID required | string^[A-Za-z]{3}$ Currency character code according to ISO 4217. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "USD",
- "numericCode": "840",
- "name": "United States Dollar",
- "sign": "$",
- "exponent": 2
}Generate a report with the specified type on the identity of the owner for the specified period of time
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
Report generation options
| reportType required | string Value: "withdrawalRegistry" Type of report |
| fromTime required | string <date-time> Start of the time period |
| toTime required | string <date-time> End of the time period |
{- "reportType": "withdrawalRegistry",
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z"
}{- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "status": "pending",
- "type": "withdrawalRegistry",
- "files": [
- {
- "id": "string"
}
]
}Get a list of owner identity reports for a period
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| fromTime required | string <date-time> Start of the time period |
| toTime required | string <date-time> End of the time period |
| type | string Value: "withdrawalRegistry" Type of reports received |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
[- {
- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "status": "pending",
- "type": "withdrawalRegistry",
- "files": [
- {
- "id": "string"
}
]
}
]Get a report for a given identifier
| reportID required | integer <int64> The report identifier |
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "status": "pending",
- "type": "withdrawalRegistry",
- "files": [
- {
- "id": "string"
}
]
}Get a link to download a file
| fileID required | string [ 1 .. 40 ] characters The file identifier |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "url": "string",
- "expiresAt": "2019-08-24T14:15:22Z"
}This section describes methods that allow you to manage Webhooks, or tools for receiving asynchronous notifications via HTTP requests when one or a group of events of interest to you occurs, for example, that a withdrawal within the created wallet was successfully completed.
Attention! Only the Webhooks Management API is part of the Vality system and hence this specification. To implement the notification handler, you will need to read the OpenAPI specification Vality Wallets Webhook Events API.
Create a new webhook.
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
Parameters of the created webhook
| partyID required | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
required | object (WebhookScope) The scope of a webhook, limiting the set of event types, for which the notifications should be sent |
| url required | string <uri> <= 1000 characters The URL that will receive notifications of events that have occurred |
{- "partyID": "string",
- "scope": {
- "topic": "WithdrawalsTopic"
},
}{- "id": "string",
- "partyID": "string",
- "active": true,
- "scope": {
- "topic": "WithdrawalsTopic"
}, - "publicKey": "MIGJAoGBAM1fmNUvezts3yglTdhXuqG7OhHxQtDFA+Ss//YuUGjw5ossDbEMoS+SIFuYZ/UL9Xg0rEHNRSbmf48OK+mz0FobEtbji8MADayzGfFopXsfRFa7MVy3Uhu5jBDpLsN3DyJapAkK0TAYINlZXxVjDwxRNheTvC+xub5WNdiwc28fAgMBAAE="
}Get list of existing webhooks.
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
[- {
- "id": "string",
- "partyID": "string",
- "active": true,
- "scope": {
- "topic": "WithdrawalsTopic"
}, - "publicKey": "MIGJAoGBAM1fmNUvezts3yglTdhXuqG7OhHxQtDFA+Ss//YuUGjw5ossDbEMoS+SIFuYZ/UL9Xg0rEHNRSbmf48OK+mz0FobEtbji8MADayzGfFopXsfRFa7MVy3Uhu5jBDpLsN3DyJapAkK0TAYINlZXxVjDwxRNheTvC+xub5WNdiwc28fAgMBAAE="
}
]Get a webhook by its identifier.
| webhookID required | string [ 1 .. 40 ] characters Webhook identifier |
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "id": "string",
- "partyID": "string",
- "active": true,
- "scope": {
- "topic": "WithdrawalsTopic"
}, - "publicKey": "MIGJAoGBAM1fmNUvezts3yglTdhXuqG7OhHxQtDFA+Ss//YuUGjw5ossDbEMoS+SIFuYZ/UL9Xg0rEHNRSbmf48OK+mz0FobEtbji8MADayzGfFopXsfRFa7MVy3Uhu5jBDpLsN3DyJapAkK0TAYINlZXxVjDwxRNheTvC+xub5WNdiwc28fAgMBAAE="
}Remove the specified webhook.
| webhookID required | string [ 1 .. 40 ] characters Webhook identifier |
| partyID | string [ 1 .. 40 ] characters The participant's unique identifier within the system. |
| X-Request-ID required | string [ 1 .. 32 ] characters Unique identifier of the request to the system |
| X-Request-Deadline | string [ 1 .. 40 ] characters Maximum request processing time |
{- "errorType": "NotFound",
- "name": "X-Request-ID",
- "description": "Required parameter was not sent"
}| Code | Description |
|---|---|
| InvalidSenderResource | Invalid transfer source (entered the number of a non-existent card, missing account, etc.) |
| InvalidReceiverResource | Wrong transfer receiver (invalid card number entered, etc.) |
| InsufficientFunds | Insufficient funds on the bank card account |
| PreauthorizationFailed | Pre-Authorization Rejected (Wrong 3D-Secure Code Entered, Cancel Link Clicked on 3D-Secure Form) |
| RejectedByIssuer | The transfer was rejected by the issuer (prohibitions were established by the country of debiting, a ban on purchases on the Internet, the withdrawal was rejected by the issuer's antifraud, etc.) |