https://api.payload.com/transactions
Nested Objects
https://api.payload.com/transactions/{id}/allocations
https://api.payload.com/transactions/{id}/check_back
https://api.payload.com/transactions/{id}/check_front
https://api.payload.com/transactions/{id}/customer
https://api.payload.com/transactions/{id}/ledger
https://api.payload.com/transactions/{id}/operations
https://api.payload.com/transactions/{id}/payment_link
https://api.payload.com/transactions/{id}/payment_method
https://api.payload.com/transactions/{id}/processing
https://api.payload.com/transactions/{id}/processing_method
https://api.payload.com/transactions/{id}/processing_settings
https://api.payload.com/transactions/{id}/reader
https://api.payload.com/transactions/{id}/receipts
Example
{
"id": "txn_ZV3cFnHL1gHM1udLUv1vL1En",
"object": "transaction",
"amount": 804.06,
"attrs": {},
"avs": "no_match",
"card_code": "numeric",
"conv_fee": 1.32,
"created_at": "2024-08-21 13:35:03",
"customer_id": "acct_TM9Rwxd8vrGYnFdK9Drm0FDd",
"description": "string",
"descriptor": "string",
"fee": 1.32,
"funding_delay": 428.6,
"funding_status": "pending",
"funding_type": "debit",
"ledger": [],
"modified_at": "2024-08-21 13:35:03",
"notes": "string",
"order_number": "string",
"payment_link_id": "pay_1hVDJyJEsXayvrNQxKZNWVpOE",
"payment_method": {},
"payment_method_id": "pm_1PAyxRtjm7MGHFZzYMWjnbW2U",
"processed_date": "2024-08-21",
"processing_id": "acct_F3lTF6YNMILcFPEuQpeW4Xub",
"processing_method": {},
"processing_method_id": "pm_13XQbMfVXNsZLND422hSWfB7y",
"processing_settings_id": "ps_26rBKRcw1zRdaKrLp8yEc9lzU",
"reader_id": "rdr_33bcSq7PhFl73QawLX9OaaSE",
"ref_number": "string",
"rejected_date": "2024-08-21",
"risk_flag": "in_review",
"risk_score": 578.18,
"source": "api",
"status": "authorized",
"status_code": "string",
"status_message": "string",
"type": "payment",
"initiator": {
"ip": "string"
},
"order_details": {
"cust_ref_number": "string",
"incl_costs": {
"sales_tax": 245.79
},
"line_items": [
{
"commodity_code": "string",
"description": "string",
"product_code": "string",
"qty": 391.1,
"tax_amount": 516.11,
"tax_rate": 86.32,
"unit_of_measure": "string",
"unit_price": 856.19
}
]
},
"shipping_details": {
"dest": {
"city": "string",
"country_code": "string",
"postal_code": "postal_code",
"rcpt_company": "string",
"rcpt_first_name": "string",
"rcpt_last_name": "string",
"state_province": "string",
"street_address": "string",
"unit_number": "string"
},
"src": {
"postal_code": "postal_code"
}
}
}
| Attributes | Description |
|---|---|
idstring readonly |
Object ID |
objectstring readonly |
Value: transaction |
amountnumber required |
Transaction amount |
attrsjson |
Custom object attributes |
avsstring readonly |
Values: no_match street_and_zip street zip unknown |
card_codenumeric non-default |
CVV code on back of card |
conv_feenumber non-default readonly |
Convenience fee |
created_atdatetime readonly |
None |
customer_idid readonly: update |
ID of associated Customer object |
descriptionstring |
Description of the transaction |
descriptorstring non-default readonly: update |
The transaction descriptor displayed on the bank statement |
feenumber non-default readonly |
Processing fee |
funding_delaynumber readonly |
Number of days to delay funding a transaction |
funding_statusstring readonly: function |
Values: pending captured batched refunded reversed |
funding_typestring |
Values: debit credit |
ledgerlist |
Array of associated Transaction Ledger objects |
modified_atdatetime readonly |
None |
notesstring |
Additional notes |
order_numberstring |
None |
payment_link_idid non-default readonly: update |
ID of the associated Payment Link object |
payment_methodobject |
Associated Payment Method object |
payment_method_idid readonly: update |
ID of the associated Payment Method object |
processed_datedate readonly: method |
Date transaction was processed |
processing_idid readonly: update |
ID of the associated Processing Account object |
processing_methodobject |
Associated Payment Method object |
processing_method_idid |
ID of the associated Payment Method object |
processing_settings_idid non-default readonly: update |
ID of the associated Processing Settings object |
reader_idid readonly: update |
None |
ref_numberstring readonly |
Human-readable reference number for receipts and reporting |
rejected_datedate readonly: method |
Date transaction was rejected |
risk_flagstring readonly |
Values: in_review allowed denied |
risk_scorenumber readonly |
Risk score between 0 and 1 |
sourcestring readonly: update |
Values: api keyed swipe emv emv_quickchip nfc googlepay applepay check |
statusstring |
Values: authorized processing processed declined voided rejected |
status_codestring readonly: function |
Code detailing the reason for the transaction status |
status_messagestring readonly |
Human-readable status description |
typestring readonly: update |
Values: payment deposit reversal refund credit chargeback chargeback_reversal |
| initiator: | |
|---|---|
ipstring |
None |
| order_details: | |
|---|---|
cust_ref_numberstring |
None |
| incl_costs: | |
|---|---|
sales_taxnumber |
Amount of tax included in the transaction amount |
| line_items: | |
|---|---|
commodity_codestring required |
The international description code of the good or service |
descriptionstring required |
Short description of the line item |
product_codestring required |
SKU |
qtynumber |
The quantity of the line item |
tax_amountnumber |
The tax value for this item |
tax_ratenumber |
The tax rate for this item |
unit_of_measurestring |
The unit of measure of the line item |
unit_pricenumber required |
The price per unit |
| shipping_details: |
|---|
| dest: | |
|---|---|
citystring |
City of the company |
country_codestring |
Country code of the shipping address |
postal_codepostal_code required |
Postal code of the shipping address |
rcpt_companystring |
Company name of recipient |
rcpt_first_namestring |
First name of recipient |
rcpt_last_namestring |
Last name of recipient |
state_provincestring |
State of the shipping address |
street_addressstring |
Street address of the shipping address |
unit_numberstring |
Unit number of the shipping address |
| src: | |
|---|---|
postal_codepostal_code |
Postal code of origin |