Rex Digital Shop
  • Introduction
  • Getting Started
    • Payment Button
    • Payment Request
    • Webhooks
      • Payment Dispute Canceled
      • Payment Completed
      • Payment Disputed
      • Payment Reversed
      • Payment Refunded
  • Api
    • Store
    • Products
  • Interfaces
    • Billing Address
    • Shipping Address
    • Payment Methods
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started
  2. Webhooks

Payment Completed

The order has been fully paid for.

{
  "message": "Order was completed",
	"event": "order.completed",
	"status": "completed",
	"payment_method": "Credit Card",
	"customer": {
		"country": "US",
		"name": "John Doe",
	},
	"order": {
		"transaction_id": "123adb",
		"amount": 28,
		"currency": {
			"name": "USD",
			"symbol": "$",
		},
		"products": [
			{
				"sku":"EXAMPLE123",
				"price":28,
				"discount":0,
				"seconds_per_unit":7776000,
				"total_purchased_seconds":7776000,
				"quantity":1,
				"plan_id":9
			}
		],
		"application_fee": 0.28,
		"initiated_at": 1588607501,
	},
	"links": {
		"customer": {
			"order": "https://shop.rexdigital.group/order/1",
		}
	}
	"custom": "ewogICJtZXNzYWdlIjogImlmIHlvdSBtYWRlIGl0IHRoaXMgZmFyIHN1YnNjcmliZSB0byBvdXIgeW91dHViZSBjaGFubmVsOiBodHRwczovL3d3dy55b3V0dWJlLmNvbS9jaGFubmVsL1VDcC1LaWFyNmswX2ZwMXQ0ekVRajdoQSIKfQ==",
	"RDG_WH_SIGNATURE": "123"
}

PreviousPayment Dispute CanceledNextPayment Disputed

Last updated 4 years ago

Was this helpful?