curl --request GET \
--url https://api.unibee.dev/merchant/payment/refund/detail \
--header 'Authorization: Bearer <token>'{
"code": 123,
"data": {
"refundDetail": {
"payment": {
"action": {},
"authorizeComment": "<string>",
"authorizeReason": "<string>",
"authorizeStatus": 123,
"autoCharge": true,
"automatic": 123,
"balanceAmount": 123,
"billingReason": "<string>",
"cancelTime": 123,
"countryCode": "<string>",
"createTime": 123,
"cryptoAmount": 123,
"cryptoCurrency": "<string>",
"currency": "<string>",
"externalPaymentId": "<string>",
"failureReason": "<string>",
"gasPayer": "<string>",
"gatewayCurrencyExchange": {
"exchange_amount": 123,
"exchange_rate": 123,
"from_currency": "<string>",
"to_currency": "<string>"
},
"gatewayId": 123,
"gatewayPaymentId": "<string>",
"gatewayPaymentType": "<string>",
"invoiceId": "<string>",
"lastError": "<string>",
"link": "<string>",
"merchantId": 123,
"metadata": {},
"paidTime": 123,
"paymentAmount": 123,
"paymentId": "<string>",
"refundAmount": 123,
"returnUrl": "<string>",
"status": 123,
"subscriptionId": "<string>",
"totalAmount": 123,
"userId": 123
},
"refund": {
"countryCode": "<string>",
"createTime": 123,
"currency": "<string>",
"externalRefundId": "<string>",
"gatewayCurrencyExchange": {
"exchange_amount": 123,
"exchange_rate": 123,
"from_currency": "<string>",
"to_currency": "<string>"
},
"gatewayId": 123,
"gatewayRefundId": "<string>",
"invoiceId": "<string>",
"merchantId": 123,
"metadata": {},
"paymentId": "<string>",
"refundAmount": 123,
"refundComment": "<string>",
"refundCommentExplain": "<string>",
"refundId": "<string>",
"refundTime": 123,
"returnUrl": "<string>",
"status": 123,
"subscriptionId": "<string>",
"type": 123,
"userId": 123
},
"user": {
"address": "<string>",
"avatarUrl": "<string>",
"billingType": 123,
"birthday": "<string>",
"city": "<string>",
"companyName": "<string>",
"countryCode": "<string>",
"countryName": "<string>",
"createTime": 123,
"custom": "<string>",
"email": "<string>",
"externalUserId": "<string>",
"facebook": "<string>",
"firstName": "<string>",
"gatewayId": 123,
"gatewayPaymentType": "<string>",
"gender": "<string>",
"id": 123,
"isRisk": 123,
"isSpecial": 123,
"language": "<string>",
"lastLoginAt": 123,
"lastName": "<string>",
"linkedIn": "<string>",
"merchantId": 123,
"metadata": {},
"mobile": "<string>",
"otherSocialInfo": "<string>",
"paymentMethod": "<string>",
"phone": "<string>",
"recurringAmount": 123,
"registrationNumber": "<string>",
"school": "<string>",
"state": "<string>",
"status": 123,
"subscriptionId": "<string>",
"subscriptionName": "<string>",
"subscriptionStatus": 123,
"taxPercentage": 123,
"telegram": "<string>",
"tikTok": "<string>",
"timeZone": "<string>",
"type": 123,
"userName": "<string>",
"vATNumber": "<string>",
"version": 123,
"weChat": "<string>",
"whatsAPP": "<string>",
"zipCode": "<string>"
}
}
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}curl --request GET \
--url https://api.unibee.dev/merchant/payment/refund/detail \
--header 'Authorization: Bearer <token>'{
"code": 123,
"data": {
"refundDetail": {
"payment": {
"action": {},
"authorizeComment": "<string>",
"authorizeReason": "<string>",
"authorizeStatus": 123,
"autoCharge": true,
"automatic": 123,
"balanceAmount": 123,
"billingReason": "<string>",
"cancelTime": 123,
"countryCode": "<string>",
"createTime": 123,
"cryptoAmount": 123,
"cryptoCurrency": "<string>",
"currency": "<string>",
"externalPaymentId": "<string>",
"failureReason": "<string>",
"gasPayer": "<string>",
"gatewayCurrencyExchange": {
"exchange_amount": 123,
"exchange_rate": 123,
"from_currency": "<string>",
"to_currency": "<string>"
},
"gatewayId": 123,
"gatewayPaymentId": "<string>",
"gatewayPaymentType": "<string>",
"invoiceId": "<string>",
"lastError": "<string>",
"link": "<string>",
"merchantId": 123,
"metadata": {},
"paidTime": 123,
"paymentAmount": 123,
"paymentId": "<string>",
"refundAmount": 123,
"returnUrl": "<string>",
"status": 123,
"subscriptionId": "<string>",
"totalAmount": 123,
"userId": 123
},
"refund": {
"countryCode": "<string>",
"createTime": 123,
"currency": "<string>",
"externalRefundId": "<string>",
"gatewayCurrencyExchange": {
"exchange_amount": 123,
"exchange_rate": 123,
"from_currency": "<string>",
"to_currency": "<string>"
},
"gatewayId": 123,
"gatewayRefundId": "<string>",
"invoiceId": "<string>",
"merchantId": 123,
"metadata": {},
"paymentId": "<string>",
"refundAmount": 123,
"refundComment": "<string>",
"refundCommentExplain": "<string>",
"refundId": "<string>",
"refundTime": 123,
"returnUrl": "<string>",
"status": 123,
"subscriptionId": "<string>",
"type": 123,
"userId": 123
},
"user": {
"address": "<string>",
"avatarUrl": "<string>",
"billingType": 123,
"birthday": "<string>",
"city": "<string>",
"companyName": "<string>",
"countryCode": "<string>",
"countryName": "<string>",
"createTime": 123,
"custom": "<string>",
"email": "<string>",
"externalUserId": "<string>",
"facebook": "<string>",
"firstName": "<string>",
"gatewayId": 123,
"gatewayPaymentType": "<string>",
"gender": "<string>",
"id": 123,
"isRisk": 123,
"isSpecial": 123,
"language": "<string>",
"lastLoginAt": 123,
"lastName": "<string>",
"linkedIn": "<string>",
"merchantId": 123,
"metadata": {},
"mobile": "<string>",
"otherSocialInfo": "<string>",
"paymentMethod": "<string>",
"phone": "<string>",
"recurringAmount": 123,
"registrationNumber": "<string>",
"school": "<string>",
"state": "<string>",
"status": 123,
"subscriptionId": "<string>",
"subscriptionName": "<string>",
"subscriptionStatus": 123,
"taxPercentage": 123,
"telegram": "<string>",
"tikTok": "<string>",
"timeZone": "<string>",
"type": 123,
"userName": "<string>",
"vATNumber": "<string>",
"version": 123,
"weChat": "<string>",
"whatsAPP": "<string>",
"zipCode": "<string>"
}
}
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
RefundId
Show child attributes
Show child attributes
Show child attributes
authorize status,0-waiting authorize,1-authorized,2-authorized_request
balance_amount
cancel time, utc time
country code
create time, utc time
crypto_amount, cent
crypto_currency
currency,“SGD” “MYR” “PHP” “IDR” “THB”
external_payment_id
who pay the gas, merchant|user
Show child attributes
the exchange amount of gateway
the exchange rate of gateway, set to 0 if using https://app.exchangerate-api.com/ instead of fixed exchange rate
the currency of gateway exchange from
the currency of gateway exchange to
gateway_id
gateway_payment_id
gateway_payment_type
invoice id
last error
merchant id
paid time, utc time
payment_amount
payment id
total refund amount
return url
status 10-pending,20-success,30-failure, 40-cancel
subscription id
total amount
user_id
Show child attributes
country code
create utc time
currency
external_refund_id
Show child attributes
the exchange amount of gateway
the exchange rate of gateway, set to 0 if using https://app.exchangerate-api.com/ instead of fixed exchange rate
the currency of gateway exchange from
the currency of gateway exchange to
gateway_id
gateway refund id
invoice id
merchant id
relative payment id
refund amount, cent
refund comment
refund comment
refund id (system generate)
refund success time
return url after refund success
status。10-pending,20-success,30-failure, 40-cancel
subscription id
1-gateway refund,2-mark refund
user_id
Show child attributes
address
avator url
1-recurring,2-one-time
brithday
city
company name
country_code
country_name
create utc time
Custom
external_user_id
first name
gateway_id
gender
userId
is risk account (deperated)
is special account(0.no,1.yes)- deperated
User Language, en|ru|cn|vi|bp
last login time, utc time
last name
merchant_id
mobile
phone
total recurring amount, cent
RegistrationNumber
school
State
0-Active, 2-Suspend
subscription id
subscription name
sub status, 1-Pending|2-Active|3-PendingInActive | 4-Cancel | 5-Expire | 6- Suspend| 7-Incomplete | 8-Processing | 9-Failed
taxPercentage,1000 = 10%
telegram
tictok
User type, 1-Individual|2-Business
user name
vat number
version
whats app
zip_code