Obtém os dados de transação completos por ID.
Aviso
Esta chamada de API não contém o trajeto-parâmetro project_id
, então é preciso usar a chave API que for válida em todos os projetos da empresa para configurar a autorização.
As informações de transação foram retornadas com sucesso.
{- "customer_details": {
- "billing_address": "",
- "bin": "",
- "browser_language": "",
- "country": "US",
- "ip": "209.11.22.33",
- "paystation_country": "",
- "phone": null,
- "timezone": "",
- "user_id": "user1",
- "user_name": "John Smith"
}, - "finance_details": {
- "direct_wht": {
- "amount": "0",
- "currency": "USD"
}, - "dispute_fee": {
- "amount": "70",
- "currency": "USD",
- "date": "2019-04-20 16:15:37"
}, - "payment": {
- "amount": "0.04",
- "currency": "USD"
}, - "payment_method_fee": {
- "amount": "0.01",
- "currency": "USD"
}, - "payment_method_sum": {
- "amount": "0.04",
- "currency": "USD"
}, - "payout": {
- "amount": "1.25",
- "currency": "RUB"
}, - "payout_currency_rate": "62.4080582524",
- "repatriation_commission": {
- "amount": "0",
- "currency": "USD"
}, - "sales_tax": {
- "amount": "0",
- "currency": "USD"
}, - "vat": {
- "amount": "0.01",
- "currency": "USD"
}, - "xsolla_balance_sum": {
- "amount": "0",
- "currency": "USD"
}, - "xsolla_fee": {
- "amount": "0",
- "currency": "USD"
}
}, - "payment_details": {
- "card_holdername": null,
- "card_issuer": "TEST BANK",
- "card_month": "01",
- "card_number": "1234123412341234",
- "card_scheme": "MASTERCARD",
- "card_year": "2020",
- "customer_firstname": "",
- "customer_lastname": "",
- "enrollment": false,
- "ps_account": "1234test4321",
- "zip_code": ""
}, - "subscription_details": {
- "is_payment_from_subscription": false,
- "is_subscription_created": true
}, - "transaction_details": {
- "amount": "0.04",
- "cancellation_date": null,
- "country": "US",
- "currency": "USD",
- "custom_parameters": null,
- "foreign_invoice": null,
- "gift_recipient_email": null,
- "gift_recipient_id": null,
- "payment_date": "2019-03-21 16:15:37",
- "payment_method": "1380",
- "payment_method_name": "Credit/Debit Cards",
- "project": "21092",
- "project_name": "Test Project",
- "purchase": {
- "checkout": {
- "amount": "0",
- "currency": "USD"
}, - "pin_codes": {
- "amount": "0",
- "content": null,
- "currency": null
}, - "total": {
- "amount": "0.03",
- "currency": "USD"
}, - "virtual_currency": {
- "amount": "0.03",
- "currency": "USD",
- "name": "Gold coins",
- "quantity": "2"
}, - "virtual_items": null
}, - "refund_comment": null,
- "refund_reason": null,
- "status": "done",
- "user_id": "user1"
}
}