Below is a table with possible test cases you can perform when testing your solution. It's important to keep our error dictionary in mind so you can understand the reason for any error.Authentication#
| Description | Endpoint | Happy / Unhappy | Comments |
|---|
Get a new token with the correct client_id and secret | /v1/auth | Happy | A new token is obtained with its expiration time |
Get a new token without sending the client_id | /v1/auth | Unhappy | Error code AU001 |
Get a new token without sending the secret | /v1/auth | Unhappy | Error code AU002 |
| Get a new token with the correct client and secret but with an additional field | /v1/auth | Unhappy | Error code AU003 |
Get a new token with the correct client_id and secret but without correctly formatting the JSON body | /v1/auth | Unhappy | Error code AU004 |
Accounts (Cobre Balance)#
| Description | Endpoint | Happy / Unhappy | Comments |
|---|
Create a new account by sending the provider_id, action, and alias | /v1/accounts | Happy | A new Cobre Balance is obtained |
Create a new account by sending an incorrect provider_id | /v1/accounts | Unhappy | Error code ACC002 |
| Create a new account by sending an incorrect account_type | /v1/accounts | Unhappy | Error code ACC003 |
| Create a new account by sending fewer fields than expected | /v1/accounts | Unhappy | Error code ACC004 |
| Create a new account by sending an incorrect action | /v1/accounts | Unhappy | Error code ACC005 |
Counterparties#
| Description | Endpoint | Happy / Unhappy | Comments |
|---|
| Create a new counterparty by sending all the data correctly | /v1/counterparties | Happy | A new counterparty is obtained |
Create a new counterparty without sending a type | | | |
/v1/counterparties | Unhappy | Error code CP001 | |
Create a new counterparty by sending an incorrect type | | | |
/v1/counterparties | Unhappy | Error code CP002 | |
Create a new counterparty by sending an incorrect account_number | /v1/counterparties | Unhappy | Error code CP003 |
Create a new counterparty by sending an incorrect identification_type | /v1/counterparties | Unhappy | Error code CP005 |
Create a new counterparty by sending a fullname with special characters | /v1/counterparties | Unhappy | Error code CP006 |
Create a new counterparty by sending an incorrect beneficiary_institution | /v1/counterparties | Unhappy | Error code CP007 |
Create a new counterparty by sending an identification_number with special characters | /v1/counterparties | Unhappy | Error code CP008 |
Create a new counterparty by sending an identification_number with more digits than allowed | /v1/counterparties | Unhappy | Error code CP009 |
Create a new counterparty by sending an email with an incorrect format | /v1/counterparties | Unhappy | Error code CP010 |
Create a new counterparty by sending a phone_number with an incorrect format | /v1/counterparties | Unhappy | Error code CP011 |
Create a new counterparty by sending an identification_number with letters | /v1/counterparties | Unhappy | Error code CP012 |
Money Movement#
| Description | Endpoint | Happy / Unhappy | Comments |
|---|
| Create a new money movement by correctly sending the requested data | /v1/money_movements | Happy | A new money movement is obtained |
| Create a new money movement by sending fewer fields than expected | Unhappy | Error code MM001 | |
Create a new money movement by sending an incorrect destination_id | Unhappy | Error code MM002 | |
Create a new money movement by sending an amount less than 0 | /v1/money_movements | Unhappy | Error code MM003 |
Create a new money movement by sending the same source_id as the destination_id | /v1/money_movements | Unhappy | Error code MM008 |
Create a new money movement by sending an idempotency_key with fewer than 9 characters | /v1/money_movements | Unhappy | Error code MM009 |
Create a new money movement by sending a combination of source_id and destination_id that is not allowed | /v1/money_movements | Unhappy | Error code MM010 |
Create a new money movement by sending a description that exceeds the allowed limit | /v1/money_movements | Unhappy | Error code MM011 |
Create a new money movement by sending an incorrect destination_id | /v1/money_movements | Unhappy | Error code MM012 |
Create a new money movement by sending a reference that exceeds the allowed limit | /v1/money_movements | Unhappy | Error code MM013 |
Create a new money movement by sending an incorrect source_id | /v1/money_movements | Unhappy | Error code MM021 |
Modified at 2025-12-23 00:39:11