cancel
Showing results for 
Search instead for 
Did you mean: 

CyberSource Simple API- Sandbox returns 'resource not found' right after capture payment.

Hi all,

I have succesfully  POSTed a payment with $.processingInformation.capture = true and I am able to parse the id. However, when I go to see the status,  I am receiving this response:

 

 

 

{"_links":{"self":{"href":"https://apitest.cybersource.com/payment/tss/v2/transactions/7079430972416295503955"}},"invalidFields":null,"message":"The requested resource does not exist","messageKey":null,"missingFields":null}

 

 

 

 Any guess why this is? I am expecting to see a response with a "PENDING" status.
I am able to process a void transaction with the same ID code.

Is this expected behaviour for the sandbox/production or is there something else going on here? This doesn't seem to be a problem in the example api environment.

Thanks.

scottjodoinim
Member
2 REPLIES 2

I also tried the POST /pts/v2/refresh-payment-status/{id} endpoint and got this response:

 

{"submitTimeUtc":"2024-02-14T21:00:25Z","status":"404","errorInformation":{"reason":"NOT_FOUND","message":"The requested resource does not exist."}}

 

scottjodoinim
Member

Hey I know I'm late to this, but for anyone looking in the future.

You would want to hit the https://apitest.cybersource.com/tss/v2/transactions/{id} endpoint. (remove /payments/). This can be found here: https://developer.cybersource.com/api-reference-assets/index.html#transaction-details_transaction-de... 

Tested it myself and it is working.

trynaBeHelpful
New Member