Update Onboarding

Updates an existing onboarding for a recipient. Only specified fields will be updated.

This endpoint updates an existing onboarding for a recipient, allowing you to modify onboarding details after initial creation. Use this when you need to update provider information, documentation, banking details, or other onboarding parameters for existing recipients in the split payments marketplace.

Prerequisites

This endpoint requires an existing onboarding created via Create Onboarding

PATCH/recipients/{recipient_id}/onboardings/{onboarding_id}

Path Parameters

recipient_idstringrequired

ID of the recipient whose onboarding will be updated

onboarding_idstringrequired

ID of the onboarding to be updated

Body application/json

account_idstring

Unique id of the account in WHITELABEL

type"PREVIOUSLY_ONBOARDED" | "ONE_STEP_ONBOARDING" | "TWO_STEP_ONBOARDING"

Type of onboarding flow. PREVIOUSLY_ONBOARDED for pre-existing accounts, ONE_STEP_ONBOARDING for account creation + KYC in one step, TWO_STEP_ONBOARDING for account creation first then KYC later

workflow"HOSTED_BY_PROVIDER" | "HOSTED_BY_YUNO" | "DIRECT"

Workflow of the onboarding

callback_urlstring<uri>

URL in case to redirect your customer after the onboarding process with the provider, if needed.

providerobject
Show provider properties
idstring

Provider id

connection_idstring

Id of the connection in WHITELABEL

recipient_idstring

The unique identifier of the provider’s recipient.

recipient_type"MEAL" | "FOOD" | "MULTI_BENEFITS" | "FLEET"

The type of recipient for the provider.

documentationobject[]

Specifies the documentation object.

Show documentation properties
file_namestringrequired

The name of the documentation sent (MAX 255; MIN 3).

content_type"application/pdf" | "image/jpeg" | "image/png"required

The type of the documentation sent by the merchant

content_category"ACCOUNT_REQUIREMENT" | "BANK_STATEMENT" | "BUSINESS_ICON" | "BUSINESS_LOGO" | "CANCEL_POLICY" | "CUSTOMER_INTERACTION" | "DRIVERS_LICENCE" | "IDENTIFICATION_DOCUMENT" | "IDENTIFICATION_DOCUMENT_BACK" | "IDENTIFICATION_DOCUMENT_FRONT" | "LEGAL_AGREEMENT" | "OTHERS" | "PASSPORT" | "PAYMENT_DETAIL" | "PROOF_OF_ADDRESS" | "PROOF_OF_AUTHENTICITY" | "PROOF_OF_DELIVERY" | "PROOF_OF_DIRECTOR" | "PROOF_OF_INDUSTRY" | "PROOF_OF_NATIONAL_ID_NUMBER" | "PROOF_OF_OWNERSHIP" | "PROOF_OF_REGISTRATION" | "PROOF_OF_RELATIONSHIP" | "PROOF_OF_SERVICE" | "PROOF_OF_SOURCE_OF_FUNDS" | "PROOF_OF_SOURCE_OF_WEALTH" | "PROOF_OF_TAX" | "PROVIDER_IDENTITY_DOCUMENT" | "RECEIPT" | "REFUND_POLICY" | "SELFIE" | "SERVICE_AGREEMENT" | "SIGNATURE" | "TERMS_AND_CONDITIONS" | "VAT_DOCUMENT"required

The category of the documentation sent by the merchant

contentstring<byte>required

The content of the documentation sent by the merchant encoded in base64. Max size: 1MB.

withdrawal_methodsobject

Specifies the withdrawal methods object.

Show withdrawal_methods properties
bankobject

struct

Show bank properties
codestring

Bank´s code (MAX 3; MIN 3)

branchstring

Bank´s branch (MAX 3; MIN 3)

branch_digitstring

Bank´s branch digit (MAX 3; MIN 3)

accountstring

Beneficiary’s bank account number (MAX 3; MIN 250)

account_digitstring

Beneficiary’s bank account digit (MAX 3; MIN 250)

account_type"CHECKINGS" | "SAVINGS" | "VISTA" | "PIX_EMAIL" | "PIX_PHONE" | "PIX_DOCUMENT_ID" | "PIX_BANK_ACCOUNT"

Beneficiary’s bank account type (MAX 1; MIN 3). Could be: CHECKINGS, SAVINGS, VISTA, PIX_EMAIL, PIX_PHONE, PIX_DOCUMENT_ID, PIX_BANK_ACCOUNT

routingstring

Beneficiary’s bank account routing number

countrystring

The bank account’s country (ISO 3166-1 MAX 2; MIN 2)

currencystring

The bank account’s currency (ISO 3166-1 MAX 3; MIN 3)

legal_representativesobject[]

Object to indicate the owners of the organization. Adyen, Stripe and dlocal have fields related to that.

Show legal_representatives properties
merchant_referencestring

Legal representative’s identification id (MAX 255; MIN 3).

first_namestring

Legal representative’s name. (MAX 255; MIN 1).

last_namestring

Legal representative’s last name. (MAX 255; MIN 1).

emailstring<email>

The Legal representative’s email (MAX 255; MIN 1).

date_of_birthstring<date>

The Legal representative’s date of birth in the YYYY-MM-DD format (MAX 10; MIN 10).

countrystring

The Legal representative’s country (ISO 3166-1 MAX 2; MIN 2)

nationalitystring

The Legal representative’s nationality (MAX 2; MIN 2; ISO 3166-1).

titlestring

The title of the legal representative (MAX 255; MIN 1).

publicly_exposed_personboolean

Indicates if the legal representative is a publicly exposed person

ultimate_beneficial_ownerboolean

Indicates if the legal representative is an ultimate beneficiary owner of the company

terms_of_serviceobject

Object describing terms of service.

Show terms_of_service properties
acceptancebooleanrequired

If the terms of service were accepted by the recipient

datestring<date-time>required

Date of the terms of service acceptance

ipstring<ipv4>

IP of the terms of service acceptance

Response

Updated

idstring

The unique identifier of the recipient.

account_idstring

The account identifier associated with this recipient.

merchant_recipient_idstring

Unique identifier of the recipient defined by the merchant.

national_entitystring

Beneficiary’s national entity type.

entity_typestring

Beneficiary’s type of organization.

first_namestring

Beneficiary’s name.

last_namestring

Beneficiary’s last name.

legal_namestringnull

Beneficiary’s legal name.

emailstring

The Beneficiary’s email.

date_of_birthstring

Beneficiary’s date of birth.

countrystring

The Beneficiary’s country.

websitestring

The seller’s website URL.

industrystring

The seller’s industry.

merchant_category_codestring

The merchant category code (MCC) (MAX 235; MIN 1).

documentobject
Show document properties
document_numberstring
document_typestring
phoneobject
Show phone properties
country_codestring
numberstring
addressobject
Show address properties
address_line_1string
address_line_2stringnull
citystring
countrystring
statestring
zip_codestring
neighborhoodstring
legal_representativesobject[]
Show legal_representatives properties
merchant_referencestring
first_namestring
last_namestring
emailstring
date_of_birthstring
countrystring
nationalitystring
titlestring
publicly_exposed_personboolean
ultimate_beneficial_ownerboolean
documentobject
Show document properties
document_typestring
document_numberstring
phoneobject
Show phone properties
country_codestring
numberstring
addressobject
Show address properties
address_line_1string
address_line_2stringnull
countrystring
statestring
citystring
zip_codestring
withdrawal_methodsobject
Show withdrawal_methods properties
bankobject
Show bank properties
codestring
branchstring
branch_digitstringnull
accountstring
account_digitstringnull
account_typestring
routingstring
countrystring
currencystring
documentationobject[]
Show documentation properties
file_namestring
content_typestring
content_categorystring
contentstring
onboardingsobject[]
Show onboardings properties
idstring
typestring
workflowstring
statusstring
callback_urlstring
providerobject
Show provider properties
idstring
connection_idstring
recipient_idstringnull
redirect_urlstringnull
onboarding_urlstringnull
legal_entitystringnull
balance_account_idstringnull
legal_entity_idstringnull
documentationobject[]
Show documentation properties
file_namestring
content_typestring
content_categorystring
contentstring
legal_representativesobject[]
requirementsobject[]
Show requirements properties
fieldstring
messagestring
statusstring
withdrawal_methodsobject
Show withdrawal_methods properties
bankobject
Show bank properties
codestring
branchstring
branch_digitstringnull
accountstring
account_digitstringnull
account_typestring
routingstring
countrystring
currencystring
terms_of_serviceobject
Show terms_of_service properties
acceptanceboolean
datestring
ipstring
created_atstring<date-time>
updated_atstring<date-time>
split_configurationobject

Rules for automatic split calculation at the recipient level.

Show split_configuration properties
calculation_type"PERCENTAGE" | "FIXED" | "MIXED"

The method used to calculate the split amount.

percentagenumber

Percentage of the total payment amount to be split (0.01-100.00). Required if calculation_type is PERCENTAGE or MIXED.

fixed_amountnumber

Fixed amount to be split. Required if calculation_type is FIXED or MIXED.

currencystring

ISO 4217 currency code. Required for all calculation types.

rounding_mode"STANDARD" | "ROUND_UP" | "ROUND_DOWN"

The rounding strategy for calculated amounts. Required for PERCENTAGE and MIXED.

created_atstring<date-time>

Recipient creation date (ISO 8601 MAX 27; MIN 27).

updated_atstring<date-time>

Last Recipient updated date (ISO 8601 MAX 27; MIN 27).

Bad Request

codestring
messagesstring[]

Unauthorized

codestring
messagesstring[]

Forbidden

codestring
messagesstring[]
Request
curl -X PATCH "https://api-sandbox.whitelabel.com/v1/recipients/<recipient_id>/onboardings/<onboarding_id>" \
  -H "Content-Type: application/json" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>" \
  -d '{
  "account_id": "9104911d-5df9-429e-8488-ad41abea1a4b",
  "type": "PREVIOUSLY_ONBOARDED",
  "workflow": "HOSTED_BY_PROVIDER",
  "callback_url": "https://www.google.com",
  "provider": {
    "id": "PAGARME",
    "connection_id": "104911d-5df9-429e-8488-ad41abea1a4b",
    "recipient_id": "AAAAA01",
    "recipient_type": "MEAL"
  },
  "documentation": [
    {
      "file_name": "PDF",
      "content_type": "application/pdf",
      "content_category": "ACCOUNT_REQUIREMENT",
      "content": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCg=="
    }
  ],
  "withdrawal_methods": {
    "bank": {
      "code": "246",
      "branch": "XXXX",
      "branch_digit": "string",
      "account": "1093333333",
      "account_digit": "string",
      "account_type": "SAVINGS",
      "routing": "XXXXYYYYC",
      "country": "CO",
      "currency": "COP"
    }
  },
  "legal_representatives": [
    {
      "merchant_reference": "string",
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@email.com",
      "date_of_birth": "1990-02-28",
      "country": "CO",
      "nationality": "CO",
      "title": "CTO",
      "publicly_exposed_person": false,
      "ultimate_beneficial_owner": false
    }
  ],
  "terms_of_service": {
    "acceptance": true,
    "date": "2022-07-09T20:43:54.786342Z",
    "ip": "192.168.1.100"
  }
}'
Response
{
  "id": "3aaa4d82-11e8-48ce-8ef5-04eee3a10802",
  "account_id": "fe14c7c6-c75e-43b7-bdbe-4c87ad52c482",
  "merchant_recipient_id": "MERCHANT_182acf1d-faeb-4ff0-94cd-7fab11b282f6",
  "national_entity": "INDIVIDUAL",
  "entity_type": "PRIVATE",
  "first_name": "Juan",
  "last_name": "Perez",
  "legal_name": null,
  "email": "juan.perez@example.com",
  "date_of_birth": "1990-01-15",
  "country": "CO",
  "website": "https://juanperez.com",
  "industry": "Technology",
  "merchant_category_code": "5734",
  "document": {
    "document_number": "1234567890",
    "document_type": "CC"
  },
  "phone": {
    "country_code": "57",
    "number": "3001234567"
  },
  "address": {
    "address_line_1": "Carrera 7 # 32-16",
    "address_line_2": "Oficina 201",
    "city": "Bogota",
    "country": "CO",
    "state": "Cundinamarca",
    "zip_code": "110311",
    "neighborhood": "Centro"
  },
  "legal_representatives": [
    {
      "merchant_reference": "REP_001",
      "first_name": "Maria",
      "last_name": "Gonzalez",
      "email": "maria.gonzalez@example.com",
      "date_of_birth": "1985-05-20",
      "country": "CO",
      "nationality": "CO",
      "title": "CEO",
      "publicly_exposed_person": false,
      "ultimate_beneficial_owner": true,
      "document": {
        "document_type": "CC",
        "document_number": "0987654321"
      },
      "phone": {
        "country_code": "57",
        "number": "3109876543"
      },
      "address": {
        "address_line_1": "Calle 26 # 13-19",
        "address_line_2": null,
        "country": "CO",
        "state": "Cundinamarca",
        "city": "Bogota",
        "zip_code": "110311"
      }
    }
  ],
  "withdrawal_methods": {
    "bank": {
      "code": "001",
      "branch": "004",
      "branch_digit": "123",
      "account": "1234567890",
      "account_digit": "123",
      "account_type": "SAVINGS",
      "routing": "021000021",
      "country": "CO",
      "currency": "COP"
    }
  },
  "documentation": [
    {
      "file_name": "cc-front.pdf",
      "content_type": "application/pdf",
      "content_category": "IDENTIFICATION",
      "content": "JVBERi0xLjQKJ..."
    }
  ],
  "onboardings": [
    {
      "id": "84c42684-dbe5-4e0f-bd17-4d094e19762d",
      "type": "ONBOARD_ONTO_THE_PROVIDER",
      "workflow": "DIRECT",
      "status": "PENDING",
      "callback_url": "https://merchant.example.com/webhook/onboarding",
      "provider": {
        "id": "ALELO",
        "connection_id": "cc389b51-53a1-4a29-af40-c8cee26c3399",
        "recipient_id": null,
        "redirect_url": null,
        "onboarding_url": null,
        "legal_entity": null,
        "balance_account_id": null,
        "legal_entity_id": null
      },
      "documentation": [
        {
          "file_name": "utility-bill.pdf",
          "content_type": "application/pdf",
          "content_category": "ADDRESS_PROOF",
          "content": "JVBERi0xLjQKJ..."
        }
      ],
      "legal_representatives": [],
      "requirements": [
        {
          "field": "document.cc",
          "message": "Provide CC document image",
          "status": "PENDING"
        }
      ],
      "withdrawal_methods": {
        "bank": {
          "code": "002",
          "branch": "002",
          "branch_digit": null,
          "account": "9876543210",
          "account_digit": null,
          "account_type": "SAVINGS",
          "routing": "021000022",
          "country": "CO",
          "currency": "COP"
        }
      },
      "terms_of_service": {
        "acceptance": true,
        "date": "2025-07-21T20:43:54Z",
        "ip": "129.21.111.11"
      },
      "created_at": "2025-08-27T15:41:19.516982Z",
      "updated_at": "2025-08-27T15:41:19.516989Z"
    }
  ],
  "split_configuration": {
    "calculation_type": "PERCENTAGE",
    "percentage": 10.5,
    "fixed_amount": 5,
    "currency": "USD",
    "rounding_mode": "STANDARD"
  },
  "created_at": "2025-08-27T15:41:19.497413Z",
  "updated_at": "2025-08-27T15:41:19.497425Z"
}