Configure credit reporting details for your organization
PUT
/organization/credit_reporting
Body
Set your credit reporting configurations for your organization.
-
metro2_config object
Metro2 credit reporting configs
PUT /organization/credit_reporting
curl \
-X PUT https://<your_environment_name>-uat-api.canopyservicing.com/organization/credit_reporting \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"metro2_config":{"bloom_api_credentials":{"client_id":"XGb5OMiH8UUbQhRZbVl8G2WENngZRpBL","client_secret":"ylfkDG_Il4xZH4dA0L57SN5CT1cwMDF75VvIb6VBoR-Mv8yECBCS2uY-5nlaC25u"}}}'
Request example
{
"metro2_config": {
"bloom_api_credentials": {
"client_id": "XGb5OMiH8UUbQhRZbVl8G2WENngZRpBL",
"client_secret": "ylfkDG_Il4xZH4dA0L57SN5CT1cwMDF75VvIb6VBoR-Mv8yECBCS2uY-5nlaC25u"
}
}
}
Response example (200)
{
"metro2_config": {
"bloom_api_credentials": {
"client_id": "XGb5OMiH8UUbQhRZbVl8G2WENngZRpBL",
"client_secret": "ylfkDG_Il4xZH4dA0L57SN5CT1cwMDF75VvIb6VBoR-Mv8yECBCS2uY-5nlaC25u"
}
}
}