Transaction file format
This file consists of two parts, which are the header and record details.
File header
The following table lists the fields in the file header:
No. | Field | Type (Length) | Description |
1 | Partner | String(16) | The unique ID that is assigned by Alipay to identify a partner. The ID is composed of 16 digits beginning with 2088. |
2 | Payment_time | String(10) | The date when the transaction is completed. Format: yyyy-MM-dd HH:mm:ss |
3 | Total_count | Number(9) | The total number of records in this file |
Record Detail
Sample
Partner:208800000000|Payment_time: 2013-12-02|Total_count:4
Partner_transaction_id|Transaction_id|Transaction_amount|Charge_amount|Currency|Payment_time|Transaction_type|Remark|Secondary_merchant_industry|Secondary_merchant_name|Secondary_merchant_id|Operator_name|Order_scene|Trans_currency|Trans_amount|Trans_forex_rate|Issue
0001|201312020445|100|3|HKD|2013-12-02 10:45:42|PAYMENT||5812|xxx|1234|xxx|shopQrCode|TWD|100|0.031|ALIPAYCN
0002|201312020446|100|3|HKD|2013-12-02 10:45:13|REVERSAL||5812|xxx|1234|xxx|shopQrCode|TWD|100|0.031|ALIPAYCN
0003|201312020448|100|3|HKD|2013-12-02 10:45:09|REFUND|Refund|5812|xxx|1234|xxx|shopQrCode|TWD|100|0.031|ALIPAYCN