GSMA Refund API

Operations to manage Refund procedure

GitHub OpenAPI
Business capability
Telecom Billing & Revenue Management BC-2660

Operations 4

POST /payments/{paymentId}/refunds Create a new Refund #
GET /payments/{paymentId}/refunds Get a list of refunds #
GET /payments/{paymentId}/refunds/{refundId} Get refund details #
GET /payments/{paymentId}/refunds/remaining-amount Get remaining amount not refunded for a given payment #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gsma:gsma-refund-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gsma-refund-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Service Enabling Refunds against Operator Carrier Billing Systems


    # Introduction


    The Carrier Billing Refund API provides programmable interface for developers and other users (capabilities consumers) to perform a refund over a given payment. The API provides management of a refund entity and its associated lifecycle. # Relevant terms and definitions


    - **Carrier Billing**:

    An online payment process which allows users to make purchases by charging payments against Telco Operator Billing Systems, accordingly to the user''s configuration in the Telco Operator. In a common usage in the industry, the payment is processed on current account balance or charged on next bill generated for this line. - **Payment**:

    The process of paying for a (set of) good(s)/service(s). - **Refund**:

    The process of returning the amount involved in a given payment (totally or partially) back to the user. # API Functionality


    This API allows to third party clients to request the refund of a given payment, as well as to retrieve information about a specific refund or a list of refunds. The API provides several endpoints/operations:

    - An endpoint to request a refund, named `createRefund`. - A set of endpoints to retrieve information about a list of refunds or a specific refund (identified by its specific `refundId`), named `retrieveRefunds` and `retrieveRefund` respectively. - A callback endpoint where API Server can send notifications about a refund procedure, as defined within `createRefund` operation, towards the `sink` when provided by API client. - An endpoint to retrieve remaining amount on a payment taken into consideration processed refund, named `retrievePaymentRemainingAmount`. State transitions:


    If `createRefund` is a **SYNC** process:

    - Response contains `refundId` and refundStatus=`succeeded`. - In case of any error scenario `refundId` is not created. If `createRefund` is an **ASYNC** process:

    - Response contains `refundId` and refundStatus=`processing`. After completion:

    - When refund is successfully completed then refundStatus=`succeeded`. - When refund is not successfully performed then refundStatus=`denied`. - In case of any error scenario `refundId` is not created. That means a `denied` Refund is not considerated as an error for the ASYNC process, because a `denied` Refund is a refund that has been created (i.e. the refund resource exists) and after applying the internal business logic has been settled to `denied` refundStatus. # Generic Clarification about optional parameters


    Regarding optional parameters, they can be conditionally mandatory for a Telco Operator to implement them based on business scenarios or applicable regulations in a given market. NOTE: Within a given market, in a multi Telco Operator ecosystem, the set of optional parameters to be implemented MUST be aligned among involved Telco Operators. # Authorization and authentication


    The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile. The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation. In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design. # Additional CAMARA error responses


    The list of error codes in this API specification is not exhaustive.'
  version: wip
  title: Carrier Billing Refund API
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  x-camara-commonalities: wip
servers:
- url: '{apiRoot}/carrier-billing-refund/vwip'
  variables:
    apiRoot:
      default: http://localhost:9091
      description: API root, defined by the service provider
tags:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://artifacts.apis.io/gsma/openapi/gsma-refund-api-openapi.yml