Resource Guides
Endpoints
Token Management
Customer Management
Account Management
Bre-B Key Management
Recipient Management
Payment Management
QR codes
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Update Customer
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Overview
This endpoint allows for updates in a customer record.
Endpoint Details
| Definition | Description |
|---|---|
| Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/customers/:customer_id |
| Method | PATCH |
| Headers | Content-Type: application/json, Authorization |
| Authentication | Access Token (Bearer Token) |
Request Body
The following fields can be updated in a customer record:
| Parameter | Type | Description |
|---|---|---|
| id | String | The unique identifier of the customer object. |
| business_name | String | The registered business name of customer. |
| String | Customer's contact email address. | |
| mobile_phone_number | String | Customer's mobile number. |
| identification_number | String | Customer's Identification Number. |
| merchant_category_code | String | The Merchant Category Code (MCC). |
The identification (id) is permanent and cannot be modified.
Example Request
JSON
9
1
curl --location --request PATCH 'https://api.paas.demo.co.passportfintech.com/v1/customers/db7e89e7-59d8-4ab1-b675-a2ae52c3339e' \2
--header 'Content-Type: application/json' \3
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \4
--data-raw '{5
"id": "db7e89e7-59d8-4ab1-b675-a2ae52c3339e",6
"business_name": "changing",7
"email": "eAqpUh6u@example.com",8
"mobile_phone_number": "573956158117"9
}'Response
Example of Response
- HTTP Status Code: 200 OK.
- The response will contain its unique identifier.
JSON
22
22
1
{2
"business_name": "changing",3
"type": "BUSINESS",4
"created_at": "2025-10-09T10:40:27.446Z",5
"updated_at": "2025-10-09T17:19:27.951Z",6
"email": "eAqpUh6u@example.com",7
"identification_type": "NIT",8
"identification_number": "903978023",9
"status": "ACTIVE",10
"merchant_category_code": "0412",11
"mobile_phone_number": "573956158117",12
"address": {13
"state": "Bolivar",14
"line_1": "Diagonal 46 1104",15
"line_3": "Calle 20 675",16
"city": "Cartagena",17
"post_code": "101010",18
"line_2": "Carrera 18 2111",19
"country": "CO"20
},21
"id": "db7e89e7-59d8-4ab1-b675-a2ae52c3339e"22
}Common Errors and Handling
| HTTP Status Code | Meaning | Description |
|---|---|---|
| 400 | Bad Request | Validation failed (e.g., missing or invalid field). |
| 401 | Unauthorized | Missing or invalid bearer token. |
| 403 | Forbidden | Insufficient scope or access rights. |
| 404 | Not Found | Customer with given ID does not exist. |
Best Practices
- Refresh OAuth tokens before they expire to avoid authentication failures.
- Make sure the
entity_customer_idis correct.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
Retrieve CustomerDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message