Skip to main content

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​

ParameterTypeDescription
idstring (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​

FieldTypeDescription
counterpartyNamestringRequired. Counterparty name. Min 2, max 255 characters.
addressobjectRequired. Counterparty's address.
bankAccountstringRequired. Bank account number. 3-18 characters.
bankCodestringRequired. Bank code.
accountTypestringRequired. Account type. Values: checking, savings.
documentIdstringRequired. Document ID number.
documentTypestringRequired. Document type. Values: CC, NIT, CE, PASS, PEP.
emailstringRequired. Email address.
typestringOptional. Counterparty type. Values: individual, business.
bankAddressobjectRequired. 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:

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!