getPaymentGroup
get
/ccstore/v1/paymentGroups/{id}
Get Payment Group. Get PaymentGroup authorization status an order. Optionally takes the x-ccasset-language header to get translated content in another language.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:true
Header Parameters
- X-CCAsset-Language
-
Type:
stringThe asset language of the request
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getPaymentGroup_response
- amountAuthorized
-
Type:
stringAmount authorized by the payment gateway. - authorizationStatus
-
Type:
objectauthorizationStatusAdditional Properties Allowed:Object having details about the status of authorization - id
-
Type:
stringThe id of the payment group item. - stateAsString
-
Type:
stringPayment group state in string after authorization.
Example application/json
{
"amountAuthorized":114.5,
"stateAsString":"AUTHORIZED",
"id":"pg10008",
"authorizationStatus":[
{
"authorizationDecision":"ACCEPT",
"transactionUuid":"2c82277e4af747dab536dd2591e185a3",
"displayMessage":"",
"transactionSuccess":true,
"reasonCode":"100"
}
]
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{
"amountAuthorized": 114.5,
"stateAsString": "AUTHORIZED",
"id": "pg10008",
"authorizationStatus": [{
"authorizationDecision": "ACCEPT",
"transactionUuid": "2c82277e4af747dab536dd2591e185a3",
"displayMessage": "",
"transactionSuccess": true,
"reasonCode": "100"
}]
}