The transaction files obtained from SFTP and Alipay global open platform are slightly different in contents.
#Transaction file obtained from SFTP
The transaction file obtained from SFTP consists of two parts, which are the file header and the record details.
The following table lists the fields in the file header:
The unique ID that is assigned by Alipay to identify a partner. The ID is composed of 16 digits beginning with 2088.
The date when the transaction is completed. Format: YYYY-MM-DD
The total number of records in the file
The record details contain the following fields:
#Transaction file obtained from Alipay global open platform
When you view transaction information on Alipay global open platform, you can see the following fields:
The date and time when the transaction is completed. Format: YYYY.MM.DD HH:MM:SS
|Transaction ID/Partner transaction ID|
The unique ID that is composed of digits and assigned by Alipay to identify a transaction / The unique ID that is assigned by the partner to identify a transaction in the partner system. When Type is P, the value is same as that of partner_trans_id. When Type is R, the value is same as that of transaction_id.
The transaction amount in foreign currency and in CNY currency. When the transaction is a refund, the amount is a minus number.
The settlement amount in foreign currency and in CNY currency.
The commission fee that is charged for the transaction in foreign currency and in CNY currency.
Amount of the discount voucher in foreign currency and in CNY currency.
In-store payment product. The value is fixed as SPOT.
|Type||The transaction type. The value can be:|
P: Payment transaction
R: Refund transaction
When Type is P, the value can be:
P: Payment succeedsWhen Type is R, the value can be:
S: Refund succeeds
F: Refund failed
W: Refund process has not completed
Note: The value W is only available in the async refund process.
Action to process a transaction