Retrieve Payout Status
GET/payouts/:shopId/:payoutNumber
Retrieves the current status of a specific payout operation for a shop.
Request
Path Parameters
ID of the shop from which the payout operation was performed. How to get your shopId
Payout operation number, which is obtained from the response of the POST /payouts endpoint
Responses
- 200
Payout status
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- instrumentType=card
- instrumentType=bank_transfer
- instrumentType=wallet
- instrumentType=crypto_wallet
- The first 6 and last 4 digits, with the intervening digits replaced by asterisks (e.g., 123456******1234)
- Only the last 4 digits (e.g., **** **** **** 1234)
- instrumentType=card
- instrumentType=bank_transfer
- instrumentType=wallet
- instrumentType=crypto_wallet
- The first 6 and last 4 digits, with the intervening digits replaced by asterisks (e.g., 123456******1234)
- Only the last 4 digits (e.g., **** **** **** 1234)
data objectrequired
The unique identifier of the shop initiating the payout.
The internal unique identifier of the payout within the system. Used for referencing the payout when contacting technical support in case of any issues.
Possible values: [in_progress
, failed
, completed
, rejected
, cancelled
, need_action
]
Status of the payout. Description of Statuses
A unique identifier for the payout, generated by the merchant, and specific to each shopId
.
The purpose or reason for the payout request.
cost objectrequired
Container for cost-related information.
Total cost of the payout, formatted as a decimal string with a period (.) as the decimal separator.
Specifies the currency in ISO 4217 alphabetic code format, consisting of 3 uppercase letters.
The ISO 3166-1 alpha-2 country code of payout country.
Date and time the payout was created, in RFC 3339 format including the UTC zone.
Date and time when the payout was successfully sent to the recipient, formatted according to RFC 3339, including the UTC time zone.
payoutTransactions object[]
An array of payouts objects related to the payout. If the array is empty, it indicates that no payouts have been made for the payout yet. If an payout is paid with multiple payouts, there will be one object per payout in the array.
Identifier for the specific payout assigned by our system.
Identifier for the specific payout assigned by the payment provider.
cost objectrequired
Financial details of the payout
The amount of the transaction. Formatted as a decimal string with a period (.) as the decimal separator.
Specifies the currency in ISO 4217 alphabetic code format, consisting of 3 uppercase letters.
provider objectrequired
Information about the provider for this payout.
Provider code.
acquirer objectrequired
Information about the acquirer for this payout.
Acquirer code.
Possible values: [card
, bank_transfer
, wallet
, crypto_wallet
, voucher
]
Specifies the payout instrument. See available payment instruments
status object
Contains the status of the payout, including detailed information in case of payout failure.
Possible values: [in_progress
, completed
, cancelled
, failed
]
The current state of the payout. Description of Statuses
details nullable
Provides additional error details if the payout fails.
A unique identifier for the error generated by the system, used for tracking and troubleshooting.
An error message provided by the payment provider, offering insight into the reason for the failure.
An internal error code used by the system to categorize the type of error that occurred.
customer objectnullable
Container for customer-specific information.
An identifier for the customer provided when creating the order or payout. If customerId
was not specified during order/payout creation but name
and surname
were provided, the system will generate a customerId
in the format of a GUID (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) and return it here.
First name of the customer.
Last name of the customer.
Middle name of the customer, if applicable.
Customer's phone number, in international format.
Email address of the customer.
payoutDetails objectnullable
Describes the details of the payout, which vary according to the instrumentType
used.
recipient object nullable
The details of the entity receiving the payout. Contains information specific to the payment instrument type.
Possible values: [visa
, mastercard
, jcb
, amex
, dсi
, unionpay
, upi
, mir
, discover
, redcompra
, elo
, hipercard
]
Brand of the card used in the transaction.
visa - "Visa"
mastercard - "MasterCard"
jcb - "JCB"
amex - "American Express"
dci - "Diners Club International"
unionpay - "UnionPay"
upi - "UnionPay International"
mir - "Mir"
discover - "Discover"
redcompra - "Redcompra"
elo - "Elo"
hipercard - "Hipercard"
This field displays a partially obscured version of the card number to maintain security and privacy. Depending on the provider, the masked card number might show:
The bank account number.
Possible values: [swift
, sepa
, bank_wire
, card2card
, pix
, sbp
, online_banking
, open_finance
, virtual_account
, qris
, promptpay
, thaiqr
, spei
, vietnambanksqr
, vietqr
, khipu
, paysafecard
, multibanco
, bancontact
, blik
, p24
, rapidtransfer
, upi
, thb_qr
, sberbank
, giropay
, eps
, account2card
]
Specifies the type of bank transfer. See details about transferType
The identifier of the e-wallet.
The recipient's cryptocurrency wallet address.
Additional metadata about the recipient's crypto address, such as memo or tag.
The transaction hash of the cryptocurrency payout.
sender object nullable
The details of the entity initiating the payout. Contains information specific to the payment instrument type.
Possible values: [visa
, mastercard
, jcb
, amex
, dсi
, unionpay
, upi
, mir
, discover
, redcompra
, elo
, hipercard
]
Brand of the card used in the transaction.
visa - "Visa"
mastercard - "MasterCard"
jcb - "JCB"
amex - "American Express"
dci - "Diners Club International"
unionpay - "UnionPay"
upi - "UnionPay International"
mir - "Mir"
discover - "Discover"
redcompra - "Redcompra"
elo - "Elo"
hipercard - "Hipercard"
This field displays a partially obscured version of the card number to maintain security and privacy. Depending on the provider, the masked card number might show:
The bank account number.
The identifier of the e-wallet.
The sender's cryptocurrency wallet address.
The transaction hash of the cryptocurrency payout.
{
"data": {
"shopId": 123,
"id": 54222,
"payoutStatus": "in_progress",
"payoutNumber": "56573FDFVFDBWF",
"purpose": "string",
"cost": {
"amount": "56.99",
"currency": "USD",
"region": "US"
},
"payoutCreatedAt": "2023-08-29T15:34:56+03:00",
"payoutPaidAt": "2023-08-29T15:34:56+03:00",
"payoutTransactions": [
{
"transactionId": "79",
"providerTransactionId": "990943",
"cost": {
"amount": "56.99",
"currency": "USD"
},
"provider": {
"code": "fyst"
},
"acquirer": {
"code": "fyst"
},
"instrumentType": "card",
"status": {
"status": "failed",
"details": {
"errorId": "61740c87-b60d-4578-bf25-575a8c68532e",
"providerMessage": "Payout method not found",
"code": 401
}
}
}
],
"customer": {
"customerId": "56656",
"firstName": "John",
"lastName": "Doe",
"middleName": "James",
"phone": "79221110500",
"email": "john.doe@mymail.com"
},
"payoutDetails": {
"recipient": {},
"sender": {}
}
}
}