Get Transaction Status
GET/v1/partners/:partnerId/transactions/:partnerTransactionId
This endpoint retrieves the status of a partner Transaction based on its ID.
Signature
This header contains a hash value. This hash is constructed by performing a hashing calculation on a string built up by concatenating the following fields' values (in the given order):
- partnerId
- partnerTransactionId
- secret word hashed with MD5 and then converted to uppercase
The default hashing algorithm Skrill accepts is SHA-256. To calculate the signature, you need to take the values of the fields listed above exactly as you are going to post them in the request, concatenate them, and perform a SHA-256 calculation on this string.
Secret Word
Secret word will be set by an authorized Skrill referral partner representative, who will be given access to the specific part of the Paysafe Partner's portal, during the onboarding process.
Request
Path Parameters
Partner unique identifier
Partner's transaction id
Header Parameters
Hash value of mandatory parameters values and secret word
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example - PartnerTransactionDetailsResponse
Schema
Array [
- FX - Applies when user fiat currency is not EUR.
- NETWORK - Goes to a blockchain network for transferring a digital asset on that network.
- TRANSACTION - Fee charged by Paysafe for the Transaction.
- SHARED - Charged on top of the Transaction and FX fee, shared with the Skrill Referral Partner
]
Partner's transaction id
Skrill's internal unique reference ID for this transaction
The total price of the crypto purchase, including fees
The total price of the crypto purchase, without fees
Fiat currency of the payment
The amount of received crypto
The currency of bought crypto.
Customer's wallet provided by you in create session request
The rate at which the crypto is bought.
The network used for the purchase.
Id of the transaction on the blockchain.
The payment method used for the purchase.
fees
object[]
Contains fee types, amount and currencies for the payment
Possible values: [TRANSACTION
, SHARED
, FX
, NETWORK
]
Fee type:
Fee amount
Fee currency
Possible values: [PENDING
, PAYABLE
, CRYPTO_TRANSFER_PENDING
, COMPLETED
, FAILED
]
Possible values: [WITHDRAWAL_FAILURE
, RISK_FAILURE
, RISK_SUCCESS
, DEPOSIT_FAILURE
, COUNTRY_NOT_ENABLED
, EXPIRED
]
{
"partnerTransactionId": "480b3d52-8a7b-42f6-845a-1dd0fb3ed7c3",
"skrillTransactionId": "353310575",
"baseAmount": 100,
"totalSpend": 95.43,
"baseCurrency": "USD",
"receivedCryptoAmount": 0.00176038,
"cryptoCurrency": "BTC",
"cryptoWalletAddress": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy",
"cryptoToBaseRate": 54212.427999,
"cryptoNetwork": "Mainnet",
"transactionHash": "0x0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
"paymentMethodType": "CARD",
"fees": [
{
"feeType": "SHARED",
"amount": 9.89,
"currency": "USD"
}
],
"paymentStatus": "PENDING",
"paymentSubStatus": "WITHDRAWAL_FAILURE"
}
{
"partnerTransactionId": "480b3d52-8a7b-42f6-845a-1dd0fb3ed7c3",
"skrillTransactionId": "353310575",
"baseAmount": 100,
"totalSpend": 95.43,
"baseCurrency": "USD",
"receivedCryptoAmount": 0.00176038,
"cryptoCurrency": "BTC",
"cryptoWalletAddress": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy",
"cryptoToBaseRate": 54212.427999,
"cryptoNetwork": "Mainnet",
"transactionHash": "0x0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
"paymentMethodType": "CARD",
"fees": [
{
"feeType": "TRANSACTION",
"amount": 2,
"currency": "USD"
},
{
"feeType": "FX",
"amount": 1.43,
"currency": "USD"
},
{
"feeType": "SHARED",
"amount": 1,
"currency": "USD"
},
{
"feeType": "NETWORK",
"amount": "0.14,",
"currency": "USD"
}
],
"paymentStatus": "COMPLETED"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
General Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}