Payments
Operations related to payments
Retrieves information about your payments. Use the page parameter to paginate results. Optionally, filter by a specific user using the identifier parameter.
Accepted identifiers:
email, username, eosid, ue4_id, steam_username, steam_id, player_id,
minecraft_uuid, discord_id, discord_username,
fivem_xPlayer_id, fivem_citizen_id, minecraft_username.
Authorization:
Requires a valid JWT Bearer token.
The token must include the permission:
read-payments.
The page number to retrieve.
1The maximum number of elements per page. This number must be between 5-50.
50Specify an identifier for a user to filter subscriptions. If omitted, payments for all users will be included.
Successful operation
356Missing or invalid Tip4Serv API Key
Internal server error
GET /v1/store/payments HTTP/1.1
Host: api.tip4serv.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"payments": [
{
"id": 10203,
"status": "Paid",
"cart": "VIP+",
"sub_id": 1,
"date": 1761234717,
"amount": 6.49,
"currency": "USD",
"username": "RandomUser123",
"identifier": "discord_id:274785054121525248",
"player_id": "C84A567",
"gateway": "PayPal",
"details_page": "https://tip4serv.com/dashboard/payment-details?id=10203"
}
],
"payment_count": 356
}Retrieves information about your payment. Useful if you want to get the different commands to be delivered.
Authorization:
Requires a valid JWT Bearer token.
The token must include the permission:
read-payments.
The payment ID to retrieve.
10669Successful operation
Unique identifier of the payment.
10203Status of the payment. Accepted values: Processed, Paid, Refunded, Pending, Refused
PaidThe products name which were bought in the payment.
VIP+Eventual subscription id to which the payment is related to.
1Payment creation timestamp expressed in your store timezone.
1761234717Amount which was paid by the customer in the payment.
6.49Currency which was used for the payment.
USDUsername which was used for the payment.
RandomUser123Identifier used for identifying the user.
Accepted identifiers:
email, username, eosid, ue4_id, steam_id, player_id,
minecraft_uuid, discord_id,fivem_citizen_id, minecraft_username.
discord_id:274785054121525248Gateway used for the payment. Accepted values: PayPal, `Stripe
PayPalView more details about the payment on this page.
https://tip4serv.com/dashboard/payment-details?id=10203Missing or invalid Tip4Serv API Key
Internal server error
GET /v1/store/payment/{id} HTTP/1.1
Host: api.tip4serv.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 10203,
"status": "Paid",
"cart": "VIP+",
"sub_id": 1,
"date": 1761234717,
"amount": 6.49,
"currency": "USD",
"username": "RandomUser123",
"identifier": "discord_id:274785054121525248",
"gateway": "PayPal",
"details_page": "https://tip4serv.com/dashboard/payment-details?id=10203",
"server_actions": [
{
"id": 1,
"state": "Execute",
"str": "inventory.giveto 76561198380145423 scientist 5",
"product_id": 14,
"server_id": 23
}
],
"cart_details": [
{
"id": 202,
"name": "MVP+",
"price": 4.99,
"quantity": 1
}
]
}Last updated
