{
"id": "<string>",
"amount": "199.99",
"amount_details": {
"line_items": [
{
"quantity": 2,
"unit_cost": "199.99",
"commodity_code": "50131700",
"product_code": "SKU002",
"product_name": "Organic bananas"
}
],
"tax": {
"total_tax_amount": "199.99"
}
},
"amount_refunded": "199.99",
"created_at": "2023-11-07T05:31:56Z",
"idempotency_key": "<string>",
"metadata": {
"order_source": "shopify",
"fulfillment_id": "88213"
},
"payment_details": {
"order_reference": "PO15938"
},
"payment_method": {
"last4": "1111"
},
"processor": "datacap",
"store_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}Payments
The payment object
Payments and refunds are in beta. Contact Vori Support to enable them for your account. Until they are enabled, these endpoints answer
403 Forbidden.A card payment taken through the Vori API on behalf of a store. One payment is one charge attempt, and a payment is never edited once the processor has answered.
Where the payment stands: captured once the amount was taken from the card, authorized while the processor only holds it, and failed when the card was refused. A payment the processor has not answered for yet is not served at all: sending the same request again with the same idempotency_key and the same token settles it.
Available options:
authorized, captured, failed Was this page helpful?