PtsV2PaymentsPost502Response missing id params?

Open
#218 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start by locating PtsV2PaymentsPost502Response and inspecting how its response properties are defined or generated. Compare the class with the documented 502 payload and the sample response; the work is done when the response's id is represented and deserializes correctly.

Written by the indexing model from the issue text.

Description

Hi, the PtsV2PaymentsPost502Response class doesn't have an id field while the response returned has an id field?

PtsV2PaymentsPost502Response

Properties

Name Type Description Notes
submitTimeUtc String Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. [optional]
status String The status of the submitted transaction. Possible values: - SERVER_ERROR [optional]
reason String The reason of the status. Possible values: - SYSTEM_ERROR - SERVER_TIMEOUT - SERVICE_TIMEOUT [optional]
message String The detail message related to the status and reason listed above. [optional]

Response:

"2025-09-17 11:32:49.175(,)INFO (,)Invokers.ApiClient(,)psp-onecredit(,)10.36.174.50(,){""id"":""758083*******3867"",""submitTimeUtc"":""2025-09-17T04:32:49Z"",""status"":""SERVER_ERROR"",""reason"":""SYSTEM_ERROR"",""message"":""Error -
General system failure.""}"

"2025-09-17 11:32:49.175(,)ERROR(,)Invokers.ApiClient(,)psp-onecredit(,)10.36.174.50(,)ApiException : 502 Bad Gateway"
"2025-09-17 11:32:49.175(,)DEBUG(,)Invokers.ApiClient(,)psp-onecredit(,)10.36.174.50(,)Network Response :
...

Dominant language
Java
Stars
29
Forks
50
Avg merge
28m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CyberSource/cybersource-rest-client-java

All issues in CyberSource/cybersource-rest-client-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.