Browse the various statuses and the status call response in this section
Things to note
  • The Get Status Service from PayGlocal is used to fetch the status of a transaction that was initiated using the GPI or Refund service.
  • The Status service uses the GID returned in the GPI service response or merchantUniqueId that was sent during the GPI or Refund Service request as a request parameter to fetch status of the transaction.
  • These API calls are always to be used in server to server communication channels.
  • Utilise this API to verify the terminal status of transaction, once a form POST is executed on the merchant call back URL and control is returned back to the merchant.

Status Call Response
The response object of the "Transaction Status Check" API has an object with the key data which contains the status and meta data of the transaction whose status is being queried for. The data block has the following information contained within it:
DataDescription
statusStatus of the transaction.
detailedMessageDetailed message returned after transaction completion.
transactionCreationTimeTime at which transaction was initiated (DD/MM/YYY HH:MM:SS).
gidGID of the transaction.
AmountAmount of the transaction during initiation.
CurrencyCurrency of the transaction during initiation.
merchantTxnIdReference ID of transaction provided by the merchant.
reasonCodePayGlocal defined Reason Code.

👍

Verifying your Transaction

SENT_FOR_CAPTURE and SENT_FOR_REFUND are successful statuses at PayGlocal.

The merchant is urged to utilise this endpoint to retrieve the status of the transaction and cross check the merchantTxnId and GID of the transaction with their internal records.


GPI Transaction Non-Final Status
StatusDescriptionNext Action
INPROGRESSGPI Service is executing the transaction. This status is returned when the merchant has loaded PayGlocal JS using the token returned in the GPI service response and the customer is executing the payment. This status can stay until the PayGlocal JS has timed out or the customer has closed the window of payment.Wait for the customer to proceed with the payment flow.

GPI Transaction Final Status
StatusDescriptionNext Action
ABANDONEDThis status highlights that the payment flow was abandoned by the consumer by either closing PayGlocal JS window or leaving the window to timeout. A reason for abandonment is also provided by PayGlocal to the merchant.Create a payment link using PayGlocal and send it to the customer to pay at their own convenience.
ISSUER_DECLINEPayment was declined by the card issuer. A decline reason will be provided.Ask the customer to use another mode of payment.
SENT_FOR_CAPTUREPayment was sent for capture by PayGlocal to the downstream acquirer.Ship the goods. The payment can be refunded as required.
CUSTOMER_CANCELLEDPayment was cancelled by the customer on PayGlocal page.Request the customer to pay again.
AUTHENTICATION_TIMEOUTPayment was timed out on payment authentication page.Request the customer to pay again.
GENERAL_DECLINEPayment was declined by PayGlocal due to risk reasons.Check customer profile & confirm customer identity.
REQUEST_ERRORThe Request has a field level issue. The client must fix the request fields and retry.Retry after fixing the payload.
SYSTEM_ERRORThe PayGlocal system has issues. The client must try later.Retry after some time.

Refund Transaction Final Status
StatusDescriptionNext Action
SENT_FOR_REFUNDPayment was sent for a refund on the merchant’s request. This status is received back when Get Status is requested for a Refund Service.Ask for a return from the customer.
REQUEST_ERRORThe Request has a field level issue. The client must fix the request fields and retry.Retry after fixing the payload.
SYSTEM_ERRORThe PayGlocal system has issues. The client must try later.Retry after some time.