Estimados, buen día:
Soy bastante nuevo en el tratamiento de las API de visa developer,
Estoy en modo sandbox, tratando de probar desde postman, la url: https://sandbox.api.visa.com/cdsapi/commercial/v1/ob/trxndata
le coloqué el body
Hi @JorgeTigre, Thank you for reaching out. One of our agents will be with you shortly. Until then, if any community member knows a solution, please feel free to reply in this thread.
Hola Jenn, buen dia, muchas gracias por la respuesta.
Si por favor, que alguien me indique como seguir, porque de lo contrario, no puedo continuar avanzando.
Saludos cordiales
Hey @JorgeTigre,
I understand you are facing issues while testing the Visa Developer API in sandbox mode using Postman. Here are some recommendations and answers to your questions:
Question 1:
Does anyone know what value I can put in RegionId and ProcessorId, or the entire body data set, to function correctly?
In the sandbox environment, Visa provides specific test data values that you need to use to make successful requests. For `RegionId`, `ProcessorId`, `BankId`, and `CompanyId`, you should use the specific values provided by Visa for sandbox testing. Unfortunately, these values are not always easily accessible and often require reviewing specific documentation or contacting Visa Developer support.
Question 2:
Where can I consult the different values for the test fields? Or the tables with test data?
To obtain the values for the test fields (such as `RegionId`, `ProcessorId`, `BankId`, and `CompanyId`), you can follow these steps:
1. Review the API Documentation: The Visa Developer Platform typically includes examples and details about test values in the specific API documentation. Go to the documentation section of the API you are using and look for sample requests. Log into your Project app, and on left side menu look for Test Data tab and click on there.
Example Request with Test Values
If you have access to the test values, your request in Postman should look something like this:
```json
# START
{
"issuer": {
"metadata": {
"startDate": "2021/03/01",
"endDate": "2021/03/20",
"startIndex": 1
},
"bank": [
{
"regionId": 1, // Correct test value
"processorId": 1, // Correct test value
"bankId": "1234", // Correct test value
"company": [
{
"companyId": "567890" // Correct test value
}
]
}
]
}
}
# END
```
Request URL
Make sure the request URL includes the correct `clientId` parameter:
```
https://sandbox.api.visa.com/cdsapi/commercial/v1/ob/trxndata?clientId=YOUR_CLIENT_ID
```
Replace `YOUR_CLIENT_ID` with the client ID provided to you.
Next Steps
1. Verify Documentation: Review the Visa Developer Platform documentation for the specific API you are using.
2. Contact Support: If you cannot find the test values in the documentation, contact Visa Developer support via email at developer@visa.com to obtain the necessary information.
I hope this information helps you to continue with your testing. If you have more questions, feel free to ask.
Estimada Diana, muy buen día:
Muchas gracias por tu respuesta
No puedo encontrar el clientId que me proporcionaron, voy al panel de proyectos, ingreso al proyecto, voy a credenciales y no hay ningún clientId, ¿será que hay que hacer algo para generarlo que yo no hice?
Saludos cordiales