GSMA · Schema
CreatePayment
TelecommunicationsUnited KingdomStandardsTrade AssociationNetwork APIsCAMARAOpen GatewayMobile Network OperatorsIdentity VerificationSIM SwapMobile MoneyeSIM5GFraud PreventionSpecificationGSMA
Properties
| Name | Type | Description |
|---|---|---|
| amountTransaction | object | |
| sink | string | The address to which events shall be delivered, using the HTTP protocol. |
| sinkCredential | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gsma/json-schema/gsma-create-payment-schema.json",
"title": "CreatePayment",
"x-generated": "2026-11-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/gsma-one-step-payment-api-openapi.yml#/components/schemas/CreatePayment",
"type": "object",
"required": [
"amountTransaction"
],
"properties": {
"amountTransaction": {
"$ref": "#/$defs/AmountTransactionInput"
},
"sink": {
"type": "string",
"format": "uri",
"pattern": "^https:\\/\\/.+$",
"description": "The address to which events shall be delivered, using the HTTP protocol."
},
"sinkCredential": {
"allOf": [
{
"description": "A sink credential provides authentication or authorization information necessary to enable delivery of events to a target."
},
{
"$ref": "#/$defs/SinkCredential"
}
]
}
},
"$defs": {
"AmountTransactionInput": {
"type": "object",
"required": [
"paymentAmount",
"referenceCode"
],
"properties": {
"phoneNumber": {
"type": "string",
"description": "Identifies the mobile account to be charged.\n\nA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.\n\nAdditional Considerations:\n- Take a look to section `# Identifying the phone number from the access token` regarding the use of this field.",
"pattern": "^\\+[1-9][0-9]{4,14}$"
},
"clientCorrelator": {
"type": "string",
"description": "Uniquely identifies this create payment request. If there is a communication failure during the payment request, using the same clientCorrelator when retrying the request allows the operator to avoid applying the same charge twice. This field SHOULD be present."
},
"paymentAmount": {
"$ref": "#/$defs/PaymentAmountForCharge"
},
"referenceCode": {
"type": "string",
"description": "Merchant generated payment reference to uniquely identify the request, for instance, in the case of disputes."
}
}
},
"ChargingInformation": {
"type": "object",
"required": [
"amount",
"currency",
"description"
],
"properties": {
"amount": {
"type": "number",
"format": "float",
"multipleOf": 0.001,
"minimum": 0.001,
"description": "Amount to be charged or reserved."
},
"currency": {
"type": "string",
"description": "Currency code in which amount is expressed as defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html)."
},
"description": {
"type": "string",
"description": "Description text to be used for information and billing text"
},
"isTaxIncluded": {
"type": "boolean",
"default": false,
"description": "If true, the `amount` is tax included, if false the `amount` is provided without tax. In both cases, `taxAmount` could be indicated to provide tax amount."
},
"taxAmount": {
"type": "number",
"format": "float",
"multipleOf": 0.001,
"minimum": 0,
"description": "The tax amount charged by the merchant. Indicated when the merchant is the one applying taxes. This field also provides an indicator to the downstream billing system.\n"
}
}
},
"ChargingMetaData": {
"type": "object",
"properties": {
"merchantName": {
"type": "string",
"description": "Indicates the merchant name. Allows aggregators/partners to specify the actual merchant name"
},
"merchantIdentifier": {
"type": "string",
"description": "Indicates the merchant identifier. Allows aggregators/partners to specify the actual merchant identifier"
},
"fee": {
"type": "number",
"format": "float",
"multipleOf": 0.01,
"description": "Percentage of the amount to be received by the requester"
},
"purchaseCategoryCode": {
"type": "string",
"description": "A category defining the type of service, product or media being purchased"
},
"channel": {
"type": "string",
"description": "The channel over which the requester is interacting with the merchant (e.g. WAP, Web, SMS...)"
},
"serviceId": {
"type": "string",
"description": "The identifier of the partner/merchant service being purchased"
},
"productId": {
"type": "string",
"description": "The product identifier to be combined with the `serviceId` to uniquely identify the product being purchased. For example if the `serviceId` relates to a VOD service, the `productId` can specify the movie rented"
}
}
},
"PaymentAmountForCharge": {
"type": "object",
"required": [
"chargingInformation"
],
"properties": {
"chargingInformation": {
"$ref": "#/$defs/ChargingInformation"
},
"chargingMetaData": {
"$ref": "#/$defs/ChargingMetaData"
},
"paymentDetails": {
"$ref": "#/$defs/PaymentDetails"
}
}
},
"PaymentDetails": {
"type": "array",
"description": "Detailed description of the concepts/items considered within a specific payment procedure.",
"minItems": 1,
"items": {
"$ref": "#/$defs/PaymentItem"
}
},
"PaymentItem": {
"type": "object",
"required": [
"id",
"amount",
"currency",
"description"
],
"properties": {
"id": {
"type": "string",
"description": "Unique payment item identifier. Relevant to uniquely identify an item within a given payment when `paymentDetails` are provided and also to correlate information when a refund regarding this item is performed, by means of using `refundDetails`."
},
"amount": {
"type": "number",
"format": "float",
"multipleOf": 0.001,
"minimum": 0.001,
"description": "Specific amount to be charged or reserved referred to a specific item."
},
"currency": {
"type": "string",
"description": "Currency code in which amount is expressed as defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html)."
},
"description": {
"type": "string",
"description": "Description text to be used for information and billing text referred to a specific item."
},
"isTaxIncluded": {
"type": "boolean",
"default": false,
"description": "If true, the `amount` is tax included, if false the `amount` is provided without tax. In both cases, `taxAmount` could be indicated to provide tax amount."
},
"taxAmount": {
"type": "number",
"format": "float",
"multipleOf": 0.001,
"minimum": 0,
"description": "The tax amount charged by the merchant. Indicated when the merchant is the one applying taxes. This field also provides an indicator to the downstream billing system.\n"
}
}
},
"SinkCredential": {
"type": "object",
"properties": {
"credentialType": {
"type": "string",
"enum": [
"PLAIN",
"ACCESSTOKEN",
"REFRESHTOKEN"
],
"description": "The type of the credential. Only `ACCESSTOKEN` is supported so far."
}
},
"required": [
"credentialType"
]
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/gsma-create-payment"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.