Get the status of a payment
Changed onReturns the status of a payment
Request
- Base URLhttps://sandbox.comcarde.com/v1
- URLhttps://sandbox.comcarde.com/v1/payments/{paymentId}/status
- AuthHTTP bearer
Path parameters
The unique identifier for the payment.
This can be sourced from the paymentId field in the response we sent to you when creating the payment or payout.
Query parameters
A parameter allowing the inclusion of related information.
This parameter follows closely the JSON:API Inclusion of Related Resources. Specifying valid entries will result in the entities being included in the included section of the response.
Response
OK
Example response
{
"paymentId": "2c6a34be-f7a1-4b49-b09c-e84e1322df7f",
"merchantTransactionId": "yourUniqueRequestId",
"customer": {
"id": "Customer001"
},
"code": "1000",
"psp": {
"name": "Checkout.com",
"transactionId": "6418da68-0b3d-4409-ab14-1ceb752b0b1f",
"switchAccountId": "switch-account-123",
"provisionedUserId": "Vx0H4pdAtPCz",
"additionalInfo": {
"customerFirstName": "John",
"customerLastName": "Smith",
"customerDateOfBirth": "2000-01-01",
"customerIpAddress": "123.100.100.200",
"customerId": "de5d7b4a-9410-40e1-85fd-8ceee23c9fd0",
"paysafecardCustomerId": "151743187547"
},
"rawPspResponses": [
{
"httpStatusCode": 200,
"pspName": "Checkout.com",
"headers": {
"content-type": [
"application/json"
]
}
}
]
},
"timestamp": "2022-01-30T10:10:10Z",
"included": [
{
"attributes": {
"metadata": {
"cardBrand": "MASTERCARD",
"category": "CLASSIC",
"countryIsoA2": "GB",
"commercial": true,
"bin": "48321456"
},
"expiryDate": "05-25",
"fingerprint": "63c8563d876b993878e1b5506b5fc5826e9e46266daaadac018a71ed307748c6"
}
}
],
"paymentInstrument": {
"nameOnCard": "John F Doe",
"pan": "1234 56## #### 1111",
"expiryDate": "05-25",
"cardMetadata": {
"cardBrand": "MASTERCARD",
"category": "CLASSIC",
"countryIsoA2": "GB",
"commercial": true,
"bin": "48321456"
},
"fingerprint": "63c8563d876b993878e1b5506b5fc5826e9e46266daaadac018a71ed307748c6"
},
"status": "CAPTURED",
"comcardeCode": {
"code": "1000"
},
"riskAssessments": {
"kount": {
"score": 85.5,
"decision": "APPROVED",
"reasonCode": "APPROVED_3DS_STEP_UP",
"tags": [
"3DS_CHALLENGE",
"NEW_DEVICE"
]
},
"merchant": {
"decision": "APPROVED",
"retryable": true,
"rawResponse": {
"httpStatusCode": 200
}
}
},
"cashierId": "90e7aff7-7e57-459a-a46e-9258c8abc99b",
"customMetadata": {
"accountAge": "2",
"transactionType": "Other"
},
"paymentRails": "EFTPOS",
"keyIdentifiers": {
"customerIdentifiers": {
"customerId": "Customer001"
},
"paymentInstrumentIdentifiers": {
"dpan": {
"id": "dbc8231e-6b85-4955-93ce-938e25ad2f7a"
}
}
},
"avsResult": {
"code": "I"
},
"cvvResult": {
"code": "M"
},
"amount": 1234,
"currencyCode": "GBP",
"scaDetails": {
"eci": "05"
},
"authentication": {
"requested": {
"threeDSecureRequired": true
},
"result": {
"enrollmentStatus": "ENROLLED",
"transStatus": "Y",
"flow": "FRICTIONLESS",
"version": "2.2.0",
"eci": "05"
}
},
"authorizationCode": "123456",
"processedAsAft": "YES"
}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - breaking
the
////////////////////////response property's maxLength was unset from64for the response status - breaking
the
////////////////////response property's maxLength was unset from64for the response status - breaking
the
////////////////////////response property's maxLength was unset from64for the response status - breaking
the
////////////////////response property's maxLength was unset from64for the response status - breaking
the
//////////////response property's maxLength was unset from64for the response status - breaking
the
///////response property's maxLength was unset from64for the response status - breaking
the
//////////////response property's maxLength was unset from64for the response status - breaking
the
//////////////response property's maxLength was unset from64for the response status - breaking
the
//////////response's property format changed fromipv4to no format for status - breaking
the
//////////response's property type changed fromobjectto no type for status - breaking
the
//////////response's property type changed fromobjectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
/////////////////////////from the response with the status - warning
removed the optional property
/////////////////////from the response with the status - warning
removed the optional property
/////////////////////////from the response with the status - warning
removed the optional property
/////////////////////from the response with the status - warning
removed the optional property
///////////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
///////////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////////from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status - info
added
subschema #2to the response bodyallOflist for the response status - info
added
subschema #2to the response bodyallOflist for the response status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
///////////////////////to the response with the status - info
added the optional property
/////////////to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
/////////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
/to the response with the status - info
added to the
//////////response propertyallOflist for the response status - info
added to the
//////////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
added
subschema #2to the/////response propertyallOflist for the response status - info
the response property
//////////became required for the status - info
the response property
//////////became required for the status - info
the response property
//////////became required for the status - info
the response property
//////////became required for the status - info
the response property
//////////became required for the status - info
response property
allOf[subschema #4]/scaDetailsdeprecated - info
the
/////////////////////////response's property pattern^[A-Z]+$was added for the status - info
the
/////////////////////response's property pattern^[A-Z]+$was added for the status - info
the
/////////////////////////response's property pattern^[A-Z]+$was added for the status - info
the
/////////////////////response's property pattern^[A-Z]+$was added for the status - info
the
///////////////response's property pattern^[A-Z]+$was added for the status - info
the
////////response's property pattern^[A-Z]+$was added for the status - info
the
///////////////response's property pattern^[A-Z]+$was added for the status - info
the
///////////////response's property pattern^[A-Z]+$was added for the status - info
the
//////////response's property pattern was changed from^$|^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$to^$|^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|::(ffff(:0{1,4})?:)?((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$for the status
- breaking