Requesting a contribution by ID
Protocol: HTTP
Encoding: JSON
Endpoint: /data/api/v1/contribution-management/contribution/{contributionID}
Method: GET
Parameters:
Field | Value Type | Description |
---|---|---|
contributionID | string(path) | Range of id values (Fraud Identifiers), or a single one. |
Input/request structure:
A GET
request to the endpoint, where {contributionID}
is a required parameter.
Output/response structure:
Show
json5
{
status: {
code: 0, //integer($int32)
name: 'string',
message: 'string'
},
data: [
{
assetIds: [
{
definitionId: 'Id_range#domain', //IP/telephone number/IMEI
accountId: 'user@peerId'
}
]
}
]
}
{
status: {
code: 0, //integer($int32)
name: 'string',
message: 'string'
},
data: [
{
assetIds: [
{
definitionId: 'Id_range#domain', //IP/telephone number/IMEI
accountId: 'user@peerId'
}
]
}
]
}
Responses
Response Code | Description |
---|---|
200 | Contribution has been successfully retrieved by its ID. |
400 | Contribution ID is incorrect or the fraud type could not be resolved by code. |
500 | Internal server error. |