Payments
Last updated
Last updated
GET
https://plugin.tebex.io/payments
Retrieve the latest payments (up to a maximum of 100) made on your webstore.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://plugin.tebex.io/payments?paged=1
Return all pages, paginated into pages of 25
GET
https://plugin.tebex.io/payments/{transaction}
Retrieve a payment made on your webstore by transaction ID.
GET
https://plugin.tebex.io/payments/fields/{package}
Returns an array of fields (custom variables, etc) required to be entered for a manual payment to be created for a package.
POST
https://plugin.tebex.io/payments
Create a manual payment in the same way as is possible from the control panel. One or more packages should be added to the payment, and the package commands will be processed in the same way as would be for a standard manual payment.
PUT
https://plugin.tebex.io/payments/{transaction}
Update a payment.
POST
https://plugin.tebex.io/payments/{transaction}/note
Create a note against a payment.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
limit
number
Limit the amount of payments returned.
X-Tebex-Secret
string
The secret key of a server.
page
integer
The page number to return
transaction
string
The transaction ID of a payment.
X-Tebex-Secret
string
The secret key of a server.
package
string
The ID of a package.
X-Tebex-Secret
string
The secret key of a server.
X-Tebex-Secret
string
The secret key of a server.
note
string
A note to assign to the payment.
packages[][options]
object
An object of key => value pairs for the required option fields (as retrieved from the /fields endpoint).
packages[][id]
number
The ID of the package.
packages
array
Array of packages to add to the payment.
price
integer
The price of the payment.
ign
string
The username of the user to apply the payment to.
transaction
string
The transaction ID of the payment.
X-Tebex-Secret
string
The secret key of a server.
username
string
The username that the payment should be applied to.
status
string
The status of the payment, either 'complete', 'chargeback' or 'refund'.
transaction
string
The transaction ID of the payment.
X-Tebex-Secret
string
The secret key of a server.
note
string
The note to add against the payment.