List Chargebacks

Use this API to list chargeback transactions through the Pay1st Gateway

Used in Gateway Integration

📘

NOTE This API feature is still in an beta state

Overview

A Chargeback's Details can be viewed with the Pay1st gateway after a payment has been processed. This API is a GET request returns the details of the chargeback.

Pre Requisites

API Description

HTTP Headers

Header NameDescription
AccessTokenThis is the Access Token field returned from the Authentication - Generate Access Token response. This should be in the format Bearer <AccessToken>
Content-Typeapplication/vnd.carry1st.payments.chargeback+json

URL Format

https://<payments_url>/api/pay1st/transactions/chargebacks/{chargebackreference}

Chargeback Status URL Path Parameters

These are the list of path parameters that needs to be passed from the Pay1st Partner to the Pay1st Gateway.

ParamFormatMandatoryDescription
chargebackReferenceStringYThe chargeback reference

Chargeback Status URL Query Parameters

These are the list of query parameters that needs to be passed from the Pay1st Partner to the Pay1st Gateway.

ParamFormatMandatoryDescription
pageNumberNThe page number
sizeNumberNThe page size that represents the number of results to return

Success Response

Valid HTTP Success Status Codes:

HTTP Status CodeNameDescription
200SuccessThis indicates that the request has been successful.
400Bad RequestAn invalid AccessTokenmight be used

HTTP Response Body:

{
    "chargebacks": [
        {
            "chargebackReference": "C-VGC1UG4FO4TOK8DA8FC-C",
            "transactionReference": "C-2N6F4KUIWZ5X1VTV978-P",
            "partnerReference": "C-2N6F4KUIWZ5X1VTV978-P",
            "chargebackAmount": 2000,
            "currencyCode": "NGN",
            "reasonCode": "PRODUCT_NOT_RECEIVED",
            "status": "OPEN",
            "responseDeadline": "2026-Jun-21 17:38:00",
            "createdDate": "2026-Jun-02 16:41:52",
            "lastModifiedDate": "2026-Jun-02 16:41:52"
        },
		"currentPage": 0,
    "totalPages": 1,
    "totalResults": 10,
    "hasNext": false
}

HTTP Response Fields

Response objects are paginated according to the pagination parameters provided

NameTypeDescription
chargebacksList[Chargebacks]A list of Chargebacks Objects
currentPageNumberThe current page that is being viewed
totalPagesNumberThe total number of pages based on the pageSize
totalResultsNumberThe total number of chargebacks available
hasNextBooleanFalse if this is the last page in the list of pages

Chargebacks

NameTypeDescription
chargebackReferenceStringA unique identifier that identifies the chargeback transaction
transactionReferenceStringThe original Pay1st transaction reference
partnerReferenceStringThe original Pay1st transaction's partnerReference
chargebackAmountNumberThe amount of the chargeback
currencyCodeStringThe currency code used for the chargeback
reasonCodeStringIndicates the reason code for the chargeback. Possible values are FRAUDULENT, DUPLICATE, PRODUCT_NOT_RECEIVED, PRODUCT_UNACCEPTABLE, CREDIT_NOT_PROCESSED, SUBSCRIPTION_CANCELLED, AUTHORIZATION_ERROR, GENERAL, OTHER
statusStringThe status of the chargeback. Valid statuses are OPEN, UNDER_REVIEW, WON, LOST, CANCELLED
responseDeadlineStringThe date at which to respond for the chargeback
createdDateStringThe date when the chargeback has been created
lastModifiedDateStringThe date when the chargeback has been last modified

Error Response

See Handling Error Codes for more details on handling error responses.