PaymentTransaction
| Field | Type | Required | Description |
|---|---|---|---|
id |
string |
||
externalCode |
PaymentTransactionCode | External identifier for this transaction | |
status |
string |
one of: processing, authorized, captured, failed |
|
type |
string |
one of: order, refund |
|
paymentMethod |
object |
||
authorizedAmount |
AuthorizedAmount | Originally authorized amount | |
chargedAmount |
number |
Charged amount of this transaction | |
checkoutParams |
object |
Different from payment method to payment method | |
paymentError |
object |
||
paymentInfo |
object |
Example
Section titled “Example”{ "id": "edadf6a6-f536-489f-92b8-c15fc1edc19b", "externalCode": "pi_GTS8a787uuRMaC86GBxpDABYn", "status": "failed", "type": "order", "paymentMethod": { "code": "stripe", "type": "cc", "provider": "stripe" }, "authorizedAmount": 0, "chargedAmount": 0, "checkoutParams": { "paymentIntent": "geosjhgirhgsigpr" }, "paymentError": { "message": "Your card has insufficient funds", "code": "card_declined" }, "paymentInfo": { "type": "cc", "card": { "type": "visa", "last4": 4242 } }}
