🔒
Requires order
access scope.
Field | Type | Desc |
---|
id | string | |
order_id | string | Order ID |
payment_channel | string | Payment channel |
message | string | JSON returned by payment provider with additional information about transaction success or failure reason |
created_at | string | Transaction creation time |
test | boolean | Whether it's a test order |
error_code | string | Error code |
amount | string | Transaction amount |
currency | string | Transaction currency |
trade_id | string | Unique trade ID on the payment provider's side |
payment_details | PaymentDetails | Payment details |
Field | Type | Desc |
---|
card_number | string | Credit card number, showing only the first 6 and last 4 digits |
card_month | string | Credit card expiration month |
card_year | string | Credit card expiration year |
card_first_name | string | Cardholder's first name |
card_last_name | string | Cardholder's last name |
card_first_six | string | First 6 digits of the card number |
card_last_four | string | Last 4 digits of the card number |
avs_result_code | string | Address Verification System response code |
cvv_result_code | string | Response code from the credit card company indicating if the customer correctly entered the card's security code or CVV |
{
"id": "2150768865",
"order_id": "633130-00000007",
"payment_channel": "bogus",
"message": "",
"created_at": "2024-04-19 09:54:03",
"test": true,
"error_code": "",
"amount": "109.9000",
"currency": "CNY",
"trade_id": "test_633130-00000007",
"status": "success",
"payment_details": {
"card_number": "420000******0000",
"card_month": "01",
"card_year": "27",
"card_first_name": "ryan",
"card_last_name": "zhang",
"card_first_fix": "420000",
"card_last_four": "0000",
"avs_result_code": "",
"cvv_result_code": ""
},
"payment_name": ""
}