Update Colombia Counterparty
This endpoint updates an existing Colombia counterparty.
Authorization:
bearer
HTTP: bearer
HTTP Authorization Scheme: bearer
Headers:
Authorization: APIKey {YOUR_API_KEY}
Endpoint
PUT
/api/v2/banking/counterparties/co/{id}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string (uuid) | Required. The counterparty ID to update. |
Request Body Sample
{
"counterpartyName": "Carlos Rodriguez Updated",
"address": {
"address1": "Calle 100 No. 19-61",
"city": "Medellin",
"state": "ANT",
"postalCode": "050021",
"country": "CO"
},
"bankAccount": "12345678901234",
"bankCode": "1007",
"accountType": "checking",
"documentId": "1234567890",
"documentType": "CC",
"email": "carlos.updated@example.com",
"type": "individual",
"bankAddress": {
"address1": "Calle 67 No. 7-35",
"city": "Bogota",
"state": "DC",
"postalCode": "110231",
"country": "CO"
}
}
Request Body Schema
| Field | Type | Description |
|---|---|---|
counterpartyName | string | Required. Counterparty name. Min 2, max 255 characters. |
address | object | Required. Counterparty's address. |
bankAccount | string | Required. Bank account number. 3-18 characters. |
bankCode | string | Required. Bank code. |
accountType | string | Required. Account type. Values: checking, savings. |
documentId | string | Required. Document ID number. |
documentType | string | Required. Document type. Values: CC, NIT, CE, PASS, PEP. |
email | string | Required. Email address. |
type | string | Optional. Counterparty type. Values: individual, business. |
bankAddress | object | Required. Bank's address. Same schema as address. |
Response Sample
{
"id": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"reference": "CO-VENDOR-001",
"currency": "COP",
"counterpartyName": "Carlos Rodriguez Updated",
"address": {
"address1": "Calle 100 No. 19-61",
"city": "Medellin",
"state": "ANT",
"postalCode": "050021",
"country": "CO"
},
"bankAccount": "12345678901234",
"bankCode": "1007",
"accountType": "checking",
"documentId": "1234567890",
"documentType": "CC",
"email": "carlos.updated@example.com",
"type": "individual",
"bankAddress": {
"address1": "Calle 67 No. 7-35",
"city": "Bogota",
"state": "DC",
"postalCode": "110231",
"country": "CO"
},
"status": "active",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-02T00:00:00Z"
}
Support and Resources
If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.
Stay Updated
Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:
- Instagram: BlockWyre Instagram
- Twitter: BlockWyre Twitter
- Facebook: BlockWyre Facebook
- LinkedIn: BlockWyre LinkedIn
We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!