Authorizations
API Key
Path Parameters
Realm ID
Batch update point balances for multiple credentials by their identifiers
curl --request PATCH \
--url https://api.drip.re/api/v1/realms/{realmId}/credentials/transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"updates": [
{
"type": "twitter-id",
"value": "<string>",
"source": "<string>",
"realmPointId": "<string>",
"amount": 123
}
],
"initiatorId": "<string>"
}'{
"success": true,
"results": [
{
"type": "<string>",
"value": "<string>",
"credentialId": "<string>",
"balance": 123,
"realmPointId": "<string>"
}
],
"errors": [
{
"type": "<string>",
"value": "<string>",
"error": "<string>"
}
]
}API Key
Realm ID
Was this page helpful?
curl --request PATCH \
--url https://api.drip.re/api/v1/realms/{realmId}/credentials/transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"updates": [
{
"type": "twitter-id",
"value": "<string>",
"source": "<string>",
"realmPointId": "<string>",
"amount": 123
}
],
"initiatorId": "<string>"
}'{
"success": true,
"results": [
{
"type": "<string>",
"value": "<string>",
"credentialId": "<string>",
"balance": 123,
"realmPointId": "<string>"
}
],
"errors": [
{
"type": "<string>",
"value": "<string>",
"error": "<string>"
}
]
}