Processing profiles
A processing profile is an optional scope inside your account. Use one for each brand, site, market or client that you want to configure and report on separately, while everything still runs under one account, one contract and one integration.
Profiles are optional. An account without profiles works at account scope only, and nothing on this page applies to it.
When to use profiles
| You have | A profile gives you |
|---|---|
| Several brands under one company | The hosted checkout shows each brand's own logo, colour and name, and each brand's payments are reported separately. |
| Several sites or markets | Routing rules and provider channels of their own for a site or a region, without touching the rest of the account. |
| Clients you process for | Each client's payments, transfers and webhooks carry that client's code, so you can reconcile and report per client. |
A profile is a way to organise one account. It is not a second account:
| Processing profile | Account | |
|---|---|---|
| Routing rules, provider channels, hosted checkout look | Can have its own | Used when the profile has none |
| Reporting (searches, exports, webhook payloads) | Filtered or labelled by the profile code | Everything |
| API keys and signing secrets | - | One set for the whole account |
| Webhook endpoints | - | One set; events for every profile arrive there |
| Balances and settlement | - | Always the account's |
Set up a profile
Profiles are managed in the Upprove Dashboard (Sandbox / Live), not through this API.
- Ask Upprove for the first profile. Contact support with the code and name you want. Upprove creates the first profile on your account.
- Manage the rest yourself. Once your account has a profile, the Processing Profiles page appears in the Dashboard. Managers and admins can add profiles there, change a profile's name and description, and enable or disable it. Other users can see the list.
Each profile has:
| Field | Rules |
|---|---|
| Code | The value you send as processing_profile. 2 to 40 characters: lowercase letters, digits and single hyphens between them (e.g. client-x, brand2, eu-site-01). Unique in your account. It cannot be changed later. |
| Name | A display name, up to 100 characters. |
| Description | Optional, up to 500 characters. |
| Status | Active or disabled. |
A profile cannot be deleted, because past payments keep pointing to it. Disable it instead - see Disabling a profile.
Sandbox and Live are separate environments: create the profile in each one where you use it.
Address a request to a profile
Pass the profile's code in processing_profile when you create one of these:
| Endpoint | Guide |
|---|---|
POST /v1/checkout/sessions | Getting started |
POST /v1/payments | Direct payments |
POST /v1/transfers | Transfers |
Leave the field out to work at account scope. For example, a POST /v1/payments body:
{
"merchant_reference": "order-1001",
"processing_profile": "client-x",
"amount": "42.00",
"currency": "GBP",
"country": "GB",
"payment_method": { "code": "card" },
"customer": { "email": "jane@example.com" },
"success_url": "https://example.com/success",
"cancel_url": "https://example.com/cancel"
}
The response echoes the code (shortened here):
{
"order_id": "ord_5b4a3c2d",
"transaction_id": "txn_9f8e7d6c",
"processing_profile": "client-x",
"merchant_reference": "order-1001",
"status": "requires_action"
}
Things to know:
merchant_referencestays unique across the whole account, not per profile. Two profiles cannot reuse the same reference.- The profile is fixed at creation. You cannot move a payment, session or transfer to another profile later.
- Captures and voids act on the payment they belong to, so they stay in its profile.
Validation
The code must name an active profile of your account. If it does not, the request fails with
400 validation_failed, nothing is created, and errors[] has an entry for processing_profile:
{
"code": "validation_failed",
"message": "Validation failed",
"request_id": "req_2c1f8a7b9e3d4051",
"errors": [
{
"field": "processing_profile",
"message": "Unknown processing profile"
}
]
}
This happens when the code is not in the allowed format, does not exist on your account, or belongs
to a disabled profile. The request is never moved to account scope silently. As with every error,
branch on code and field, not on message (see Errors).
What a profile changes
Reporting
The code you sent comes back everywhere the payment or transfer appears:
| Where | Field |
|---|---|
| Payment, checkout session and transfer responses | processing_profile |
Orders and transactions (GET and search results) | processing_profile |
Webhook payloads for payment.*, checkout.session.*, refund.* and transfer.* | data.processing_profile |
| Search and CSV export requests for checkout sessions, orders and transactions | processing_profile filter |
The field is absent on anything created at account scope. Your webhook endpoints receive the events
of every profile, so read data.processing_profile to tell them apart.
To list one profile's transactions:
{
"processing_profile": "client-x",
"page": 1,
"limit": 50
}
Routing
In the Dashboard, the Routing and Payment Methods pages have a Scope selector once your account has a profile. With it you can give a profile its own configuration:
- Routing rules (workflows). A request addressed to a profile is checked against the profile's rules first, then against the account's rules.
- Provider channels. A profile that has at least one enabled channel of its own is routed only over its own channels, for every payment method. A profile without one uses the account's channels. A request at account scope never uses a profile's channel.
- Routing order and retry settings. A profile can override them; what it does not override follows the account.
Because of the channel rule, a profile with its own channels can only use the payment methods those channels offer. A method they do not offer cannot be routed for that profile, even when the account itself offers it.
Hosted checkout look
On the Gateway Customization page you can give a profile its own logo, brand colour and display name. A checkout session addressed to that profile shows them. A profile without its own look shows the account's.
Ask the API for a profile's methods and fields
Routing can differ per profile, so the available methods and their required fields can differ too.
The discovery endpoints accept processing_profile as an optional query parameter and then answer
for a request addressed to that profile:
| Endpoint | Guide |
|---|---|
GET /v1/payment-methods | Payment methods |
GET /v1/payment-methods/{code}/fields | Payment methods |
GET /v1/transfer-methods | Transfers |
GET /v1/transfer-methods/{code}/fields | Transfers |
GET /v1/transfer-methods/crypto/vasps | Transfers |
REQ_PATH="/v1/payment-methods"
TS=$(date +%s)
SIG=$(printf '%s' "${TS}${REQ_PATH}" \
| openssl dgst -sha256 -hmac "$UPPROVE_SIGNING_SECRET" | sed 's/^.*= //')
curl -sS "https://api.sandbox.upprove.com${REQ_PATH}?country=BR¤cy=BRL&processing_profile=client-x" \
-H "Authorization: Bearer $UPPROVE_SECRET_KEY" \
-H "X-Signature: t=${TS}, v1=${SIG}"
Send the same code you will send on the create. Without the parameter the answer is for account
scope, which may not match a request addressed to a profile. The query string is not part of the
signed string (see Signing). An unknown or disabled profile is
400 validation_failed.
Refunds and payouts
| Operation | Profile |
|---|---|
Refund (POST /v1/refunds) | Takes the profile of the payment it refunds. The request has no processing_profile field. This also holds when the profile was disabled after the sale. |
Payout (POST /v1/payouts) | Always at account scope. The request has no processing_profile field, and a payout never appears under a profile filter. |
Disabling a profile
When you disable a profile in the Dashboard:
- New requests are rejected. A payment, checkout session or transfer addressed to it fails with
400 validation_failed, and so do the discovery endpoints. - Existing records keep the profile. Past orders, transactions and webhooks still carry its code, and the search filter still finds them.
- Open checkout sessions still work. A session created before the profile was disabled can still be paid, and it keeps the profile's routing and look.
- Refunds still work for payments of the profile.
You can enable the profile again at any time.
Checklist
- Agree the codes with your team first: a code cannot be changed.
- Ask Upprove to create the first profile, then add the others in the Dashboard.
- Configure routing, channels and the checkout look per profile where you need them.
- Send
processing_profileon every create that belongs to a profile, and on the discovery calls before it. - Read
data.processing_profilein your webhook handler. - Use the
processing_profilefilter in searches and exports for per-profile reporting.