Configure payment processor information for your organization
PUT
/organization/payment_processors
Body
Set your payment processor configurations for your organization.
-
modern_treasury_config object
-
dwolla_config object
-
stripe_config object
-
repay_config object
-
checkout_config object
PUT /organization/payment_processors
curl \
-X PUT https://<your_environment_name>-uat-api.canopyservicing.com/organization/payment_processors \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"repay_config":{"api_user":"string","api_token":"string","merchant_id":"87397472"},"authorize_net_config":{"merchant_name":"5KP3u95bQpv","transaction_key":"346HZ32z3fP4hTG2","is_prod":true},"checkout_config":{"secret_key":"string","public_key":"string","processing_channel_id":"string"},"modern_treasury_config":{"api_key":"string","org_id":"string","originating_account_id":"string"},"dwolla_config":{"app_key":"string","app_secret":"string","master_account":"string"},"stripe_config":{"api_url":"https://api.stripe.com/v1/","api_secret_key":"037609E9-1A48-4CD5-B4D3-FB76718A0A17","webhook_url":"https://api.canopyservicing.com/webhooks/stripe","webhook_signing_key":"F6FA6F42-9E9D-4C22-BCD6-24690E0F57BE"}}'
Request example
{
"repay_config": {
"api_user": "string",
"api_token": "string",
"merchant_id": "87397472"
},
"authorize_net_config": {
"merchant_name": "5KP3u95bQpv",
"transaction_key": "346HZ32z3fP4hTG2",
"is_prod": true
},
"checkout_config": {
"secret_key": "string",
"public_key": "string",
"processing_channel_id": "string"
},
"modern_treasury_config": {
"api_key": "string",
"org_id": "string",
"originating_account_id": "string"
},
"dwolla_config": {
"app_key": "string",
"app_secret": "string",
"master_account": "string"
},
"stripe_config": {
"api_url": "https://api.stripe.com/v1/",
"api_secret_key": "037609E9-1A48-4CD5-B4D3-FB76718A0A17",
"webhook_url": "https://api.canopyservicing.com/webhooks/stripe",
"webhook_signing_key": "F6FA6F42-9E9D-4C22-BCD6-24690E0F57BE"
}
}
Response example (200)
{
"repay_config": {
"api_user": "234sdjlkfjas",
"api_token": "238293749",
"merchant_id": "87397472"
},
"authorize_net_config": {
"merchant_name": "5KP3u95bQpv",
"transaction_key": "346HZ32z3fP4hTG2",
"is_prod": true
},
"checkout_config": {
"secret_key": "string",
"public_key": "string",
"processing_channel_id": "string"
},
"dwolla_config": {
"app_key": "8234-as3da6-23n20384d",
"app_secret": "9df2903sdfk23084n0329048",
"master_account": "273894723"
},
"modern_treasury_config": {
"api_key": "key-n10283bnsd10283091n98102830",
"org_id": "2d888ddsd79397d24ge9",
"originating_account_id": "29314709237"
},
"stripe_config": {
"api_url": "https://api.stripe.com/v1/",
"api_client_id": "string",
"api_secret_key": "037609E9-1A48-4CD5-B4D3-FB76718A0A17",
"webhook_url": "https://api.canopyservicing.com/webhooks/stripe",
"webhook_signing_key": "F6FA6F42-9E9D-4C22-BCD6-24690E0F57BE"
}
}