Re: CybersourceClient

DamDev
New Contributor

CybersourceClient

Hello to the visa developer team, After running my code in my sandbox environment, I get the error below although I have provided the api key and the shared secret, any help would be really useful.

 

 

 

payments/v1/credits
URI: https://sandbox.api.visa.com/cybersource/payments/v1/credits?apikey=xxxxxxxxxxxx
X-PAY-TOKEN: xv2:1660064905:BB0F15B128B372B69C357F7B706CCD8ED1F2E3A35198BA9DCEEA1EE262B35B76
X-CORRELATION-ID: A3bUsDVOTNP6Qc3
URI: https://sandbox.api.visa.com/cybersource/payments/v1/credits?apikey=VJVABM6NF376OAXETH2I21376l33XxtD...
Response Headers: {null=[HTTP/1.1 403 Forbidden], Server=[nginx], X-Content-Type-Options=[nosniff], X-CORRELATION-ID=[1660064907_957_521452313_-56467c7w8_VDP_WS], Connection=[keep-alive], X-SERVED-BY=[-56467c7w8], Pragma=[no-cache], Date=[Tue, 09 Aug 2022 17:08:27 GMT], X-Frame-Options=[SAMEORIGIN], X-APP-STATUS=[403], Strict-Transport-Security=[max-age=31536000;includeSubdomains], Cache-Control=[no-cache, no-store, must-revalidate], X-ERROR-ORIGIN=[9200], Expires=[-1], X-XSS-Protection=[0], Content-Length=[122], Content-Type=[application/json;charset=UTF-8]}
responseBody: {
"responseStatus" : {
"status" : 403,
"code" : "9611",
"severity" : "ERROR",
"message" : "Authorization Failed for the URL.",
"info" : ""
}
}
payments/v1/credits/{credit-id}
URI: https://sandbox.api.visa.com/cybersource/payments/v1/credits/{credit-id}?apikey=xxxxxxxxxxxxxxx
X-PAY-TOKEN: xv2:1660064908:C251A491F3837F686B424362E77B965C60A7A6010880E1AB2A4F5936E0464837
X-CORRELATION-ID: qbPwALoSWs8ieU6

2 REPLIES 2
jenn_kh
Community Moderator

Re: CybersourceClient

Thank you for reaching out, @DamDev! An agent will get back to you with more information as quickly as possible. -Jenn

I_Doroteo3
Visa Developer Support Specialist

Re: CybersourceClient

HI @DamDev,

 

We have an expert team that manages questions specific to CyberSource. Please reach out to CyberSource team directly.  

 

CyberSource Support 

800-709-7779 

Thanks, 

Illana