Check Status
This service returns the current status of an Afterpay or Clearpay transaction. Use the
request ID value returned by the individual service to check the status of the service
request.
Endpoints
Set the
apCheckStatusService_run
field
to true
, and send the request to one of these
endpoints:Production:
https://ics2ws.ic3.com/commerce/1.x/transactionProcessor
Test:
https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor
Response Status
The check status service returns one of the following statuses:
- AUTHORIZED: you have successfully completed the authorization or sale using the redirection URL sent in response.
- AUTH-REVERSED: the authorization is successfully reversed.
- FAILED: the service request is rejected due to missing fields, invalid fields, or downtime.
- PENDING: the payment is waiting for authentication or approval. When you receive a pending status, wait a short time and request the check status service.
- REFUNDED: the refund is successfully completed.
- SETTLED: the payment is successfully completed.
Required Fields for Checking Status
Example: Checking Status with XML
Request
12345678<="urn:schemas-cybersource-com:transaction-data-1.213"> <merchantID>test_merchant</merchantID> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <apPaymentType>afp</apPaymentType> <apCheckStatusService run="true"> <checkStatusRequestID>6246036783396181003073</checkStatusRequestID> </apCheckStatusService> </>
Response to a Successful Request
123456789101112<:c="urn:schemas-cybersource-com:transaction-data-1.213"> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <requestID>6246049907006336203063</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <apCheckStatusReply> <reasonCode>100</reasonCode> <reconciliationID>XFZOPQ97EIXG</reconciliationID> <paymentStatus>pending</paymentStatus> <processorResponse>00001</processorResponse> </apCheckStatusReply> </>