Skip to main content

Update Nigeria Counterparty

This endpoint updates an existing Nigeria counterparty.

Authorization:

bearer

HTTP: bearer

HTTP Authorization Scheme: bearer

Headers:
Authorization: APIKey {YOUR_API_KEY}

Endpoint

PUT

/api/v2/banking/counterparties/ng/{id}

Path Parameters​

ParameterTypeDescription
idstring (uuid)Required. The counterparty ID to update.

Request Body Sample​

{
"counterpartyName": "Adebayo Okonkwo Updated",
"address": {
"address1": "20 Marina Road",
"city": "Lagos",
"state": "LA",
"postalCode": "100001",
"country": "NG"
},
"accountNumber": "0123456789",
"bankCode": "058",
"accountType": "bank",
"type": "individual",
"dateOfBirth": "1990/01/15",
"email": "adebayo.updated@example.com",
"phone": "+2348012345678"
}

Request Body Schema​

FieldTypeDescription
counterpartyNamestringRequired. Counterparty name. Min 2, max 255 characters.
addressobjectRequired. Counterparty's address.
accountNumberstringOptional. Nigeria bank account number.
bankCodestringOptional. Nigeria bank code.
accountTypestringOptional. Account type. Values: bank, momo.
typestringOptional. Counterparty type. Values: individual, business.
dateOfBirthstringOptional. Date of birth in YYYY/MM/DD format.
emailstringOptional. Email address.
phonestringOptional. Phone number in E.164 format.

Response Sample​

{
"id": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"reference": "NG-VENDOR-001",
"currency": "NGN",
"counterpartyName": "Adebayo Okonkwo Updated",
"address": {
"address1": "20 Marina Road",
"city": "Lagos",
"state": "LA",
"postalCode": "100001",
"country": "NG"
},
"accountNumber": "0123456789",
"bankCode": "058",
"accountType": "bank",
"type": "individual",
"dateOfBirth": "1990/01/15",
"email": "adebayo.updated@example.com",
"phone": "+2348012345678",
"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!