Skip to main content
POST
Detail

Authorizations

Authorization
string
header
required

Your Paysight API key. You can find it in your Paysight account at https://app.paysight.io/settings/account

Headers

ClientId
string
required

Your Paysight Tenant/Client Id. This is the id of the parent company listed in https://app.paysight.io/management/companies. Alternatively, this will be provided by Paysight

UserEmail
string
required

The email address of the party or group making the request

Body

application/json

Payload

parentCompanyId
integer
required

Your Paysight tenant id. This will be provided by Paysight.

Example:

1

userEmail
string<email>
required

An email associated with the party/agent making the request

Example:

"care@yourdomain.com"

id
string<uuid>
required

The unique Paysight transaction id

Example:

"fd6562a1-e0e7-4b8b-b0d4-f20359482dd1"

getSearchData
boolean

If true, then response includes the transaction object, i.e the same data that is returned in the /search endpoint (for this transaction). Set to false to minimize response payload if not needed

Example:

true

getAddressData
boolean

If true, response includes addressData array, which contains default address and shipping address (if entered)

Example:

true

getSubscription
boolean

If true, response includes subcription array of subscription(s) related to this transaction

Example:

true

getSessionData
boolean

If true, response includes sessionData object, which includes user's Paysight sessionid, IP address and device information

Example:

true

Response

200 - application/json

Valid Request. More detailed info will be in the JSON body

success
boolean

This indicates if this request was processed successfully, no validation issues etc.

Example:

true

message
string

Debug information

Example:

""

transaction
object
addressData
object
subscriptions
object[]

Array of subscription objects (generally 1 or max 2) that relate to this transaction

sessionData
object
cart
object[]

List of line items associated with this transaction (refund or original order).

shopifyProducts
object[]

List of Shopify products related to this transaction.