Tip4Serv Payments (User) API
Operations related to payments from a user viewpoint.
Operations related to payments from a user viewpoint.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/tip4serv-com:tip4serv-com-payments-user-api"
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.
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: 3.2.0
info:
title: Tip4Serv Payments (User) API
description: Tip4Serv API
termsOfService: https://tip4serv.com/terms-of-use
contact:
email: duster@tip4serv.com
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.12
servers:
- url: https://api.tip4serv.com/v1
security:
- bearerAuth: []
tags:
- name: Payments (User)
description: Operations related to payments from a user viewpoint.
paths:
/user/payments:
get:
tags:
- Payments (User)
summary: Get the authenticated user's payments
description: 'Retrieves payments belonging to the authenticated user.
Use the `page` parameter to paginate results.
Each payment may include the raw generic player identifier in the `player_id` field.
**Authorization:**
- Requires a valid JWT Bearer token.
- The token must identify an authenticated end user.'
operationId: getUserPayments
parameters:
- name: page
in: query
description: The page number to retrieve.
required: false
schema:
type: integer
default: 1
- name: max_page
in: query
description: The maximum number of elements per page. This number must be between 5 and 50.
required: false
schema:
type: integer
default: 50
responses:
'200':
description: Successful operation
content:
application/json:
schema:
type: object
properties:
payments:
type: array
items:
$ref: '#/components/schemas/PaymentGeneral'
payment_count:
type: integer
example: 12
required:
- payments
- payment_count
'401':
description: Missing or invalid user token
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
components:
schemas:
InternalServerError:
type: object
properties:
error:
type: string
example: Unexpected server error
status:
type: integer
example: 500
required:
- error
- status
PaymentGeneral:
type: object
properties:
id:
type: number
description: Unique identifier of the payment.
example: 10203
transaction_id:
type:
- string
- 'null'
description: 'Gateway transaction reference: PayPal transaction ID or Stripe PaymentIntent ID.'
example: pi_123456789
gateway:
type: string
description: 'Gateway used for the payment. Accepted values: `PayPal`, `Stripe
'
example: PayPal
status:
type: string
description: 'Status of the payment. Accepted values: `Processed`, `Paid`, `Refunded`, `Pending`, `Refused`'
example: Paid
cart:
type: string
description: The products name which were bought in the payment.
example: VIP+
sub_id:
type: number
description: Eventual subscription id to which the payment is related to.
example: 1
date:
type: number
description: Payment creation timestamp expressed in your store timezone.
example: 1761234717
amount:
type: number
description: Amount which was paid by the customer in the payment.
example: 6.49
currency:
type: string
description: Currency which was used for the payment.
example: USD
received_gross_amount:
type:
- number
- 'null'
description: Gross amount received in the settlement account, expressed in received_currency. If is_tip4serv_fee is true, the amount is collected by Tip4Serv in its PayPal account, not the seller's account.
example: 6.49
received_net_amount:
type:
- number
- 'null'
description: Net amount recorded for the settlement account, expressed in received_currency. If is_tip4serv_fee is true, the payment is collected by Tip4Serv in its PayPal account, not the seller's account.
example: 6.12
received_currency:
type:
- string
- 'null'
description: Currency used for received_gross_amount, received_net_amount, and settlement fees where applicable.
example: GBP
exchange_rate:
type:
- number
- 'null'
description: Exchange rate recorded for the payment conversion, when available.
example: 0.85
tax:
type:
- number
- 'null'
description: Tax collected for the payment, expressed in currency.
example: 1.08
gateway_fee:
type:
- number
- 'null'
description: Payment gateway fee recorded for the payment, when available.
example: 0.37
tip4serv_fee:
type:
- number
- 'null'
description: Tip4Serv fee recorded for the payment, expressed in received_currency when available.
example: 0.18
is_tip4serv_fee:
type: boolean
description: True when the payment is collected entirely by Tip4Serv into its PayPal account, rather than into the seller's account.
example: false
country:
type:
- string
- 'null'
description: Customer country recorded for the payment.
example: GB
state:
type:
- string
- 'null'
description: Customer state, province, or region recorded for the payment.
example: England
username:
type: string
description: Username which was used for the payment.
example: RandomUser123
identifier:
type: string
description: "Identifier used for identifying the user. \n**Accepted identifiers:** \n`email`, `username`, `eosid`, `ue4_id`, `steam_id`, `player_id`, \n`minecraft_uuid`, `discord_id`,`fivem_citizen_id`, `minecraft_username`.\n"
example: discord_id:274785054121525248
player_id:
type: string
description: Raw generic player identifier, without its type prefix.
example: C84A567
details_page:
type: string
description: View more details about the payment on this page.
example: https://tip4serv.com/dashboard/payment-details?id=10203
required:
- id
- status
- mode
- date
- amount
- currency
- username
- identifier
- gateway
UnauthorizedError:
type: object
properties:
error:
type: string
example: Unauthorized access. Please provide a valid user token.
status:
type: integer
example: 401
required:
- error
- status
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT or Partner API key
description: Use a Tip4Serv JWT for standard store access, or a Partner API key as a Bearer token for Partner Connect. Partner Connect operations also require the `store_id` and `integration_key` query parameters and the relevant seller-approved permission.