Payout Detail
Use this API to retrieve the latest details of a payout using its Pagsmile transaction ID.
Get Payout Detail
POST https://sandbox.transfersmile.com/api/payout/detail
Headers
Content-Type
string
Required
Request content type. Use application/json; charset=UTF-8.
AppId
string
Required
Merchant application ID obtained from the Pagsmile dashboard.
Authorization
string
Required
SHA-256 signature generated from the sorted request parameters and the merchant App Key. See Security.
Request Body
transaction_id
string
Required
Must not be empty.
Pagsmile payout transaction ID returned by the Submit a Payout API.
timestamp
integer
Required
Unix timestamp in seconds. It must be within 15 seconds before or after the current server time.
Time when the request is sent.
Request Sample
{
"transaction_id": "TS202108090705014iNqtxektRS",
"timestamp": 1787623200
}Replace timestamp with the current Unix timestamp in seconds and generate Authorization using the final Request Body values.
Success Response
Response Body
code
integer
Response code. 200 indicates that the payout details were retrieved successfully.
msg
string
Response message.
time
integer
Unix timestamp in seconds indicating when the response was generated.
data.reference_id
string
Merchant-defined payout reference ID, submitted as custom_code when creating the payout.
data.transaction_id
string
Pagsmile payout transaction ID.
data.user_name
string
Name of the payout beneficiary.
data.bank_id
string
Central-bank or downstream-channel transaction identifier. Returned when available; commonly available for Brazil PIX and BankTransfer payouts.
data.bank_number
string
Bank identifier, such as the ISPB code in Brazil. Returned only when available for the merchant and payment method.
data.bank_name
string
Bank name. Returned only when available for the merchant and payment method.
data.payer_bank_code
string
Payer bank code. Returned only for supported SPEI channels.
data.amount
string
Payout order amount.
data.source_amount
string
Amount deducted from the merchant's source balance.
data.settlement_amount
string
Amount used for settlement before the applicable fee and tax allocation.
data.source_currency
string
Currency of the source balance deduction.
data.arrival_amount
string
Amount delivered to the beneficiary.
data.arrival_currency
string
Currency delivered to the beneficiary.
data.exchange_rate
string
Effective exchange rate applied to the payout after the configured markup adjustment.
data.tax
string
Tax charged for the payout.
data.fee
string
Payout processing fee.
data.fee_user
string
Party that bears the fee. One of merchant or beneficiary.
data.transaction_status
string
Payout status. One of PROCESSING, PAID, REJECTED, REFUNDED, or PARTIAL_REFUNDED.
data.remark
string
Status information. When the payout is REJECTED or REFUNDED, this field contains the rejection or refund reason when available.
data.create_time
integer
Unix timestamp in seconds indicating when the payout was created.
data.update_time
integer
Unix timestamp in seconds indicating when the payout was last updated.
data.extra
object
Method-specific payout information. Its child fields are returned only when applicable.
Method-specific extra Fields
data.extra.pin
string
Cash pickup PIN. Returned for CASHOUT payouts when available.
data.extra.valid_days
integer
Number of days for which the cash pickup PIN is valid. For CASHOUT, the current value is 30.
data.extra.upt_ref
string
UPT reference number. Returned for applicable CASH payouts.
data.extra.voucher
string
Cash pickup voucher. Returned for applicable CASHPICKUP payouts.
Payout Statuses
PROCESSING
The payout is being processed.
PAID
The payout was completed successfully.
REJECTED
The payout was rejected. Check remark for the reason when available.
REFUNDED
The payout amount was refunded. Check remark for additional information when available.
PARTIAL_REFUNDED
Part of the payout amount was refunded.
Request Expired Response
The following response is returned when timestamp is outside the allowed 15-second time window:
Last updated