Developers
  • Introduction
  • Integration
    • Spring Boot Starter
      • Overview
      • Setup your project
      • Product search
      • Invoicing
      • Merchant side invoicing
      • Merchant side purchase control
      • Loyalty cards
      • Home delivery
      • Marketing & Offers
    • Custom Integration
      • Overview
      • Connection node
        • Get node version endpoint
        • Get node health endpoint
      • Product search
        • Pageable product list search endpoint
        • Product bacrode search endpoint
        • Product name search endpoint
        • Product category search endpoint
      • Invoicing
        • Receive invoice endpoint
      • Merchant side invoicing
        • Create receipt endpoint
        • Confirm receipt payment endpoint
      • Merchant side purchase control
        • Receive purchase check endpoint
        • Send purchase check result
        • Ask for purchase check data resend
      • Loyalty cards
        • Loyalty card registration endpoint
        • Loyalty card bonus endpoint
      • Home delivery
        • Receive order endpoint
        • Receive order update endpoint
        • Update order status
        • Find order by id
        • Find order by invoice id
        • Find order by institution invoice id
      • Marketing & Offers
        • Find offers endpoint
  • General
    • Data object descriptions
      • HealthStatus
      • DefaultOffer
      • DiscountOffer
      • ProductRelatedOffer
      • OfferType
      • OfferClassification
      • Order
      • OrderStatusChangeLog
      • ColorTheme
      • LoyaltyCard
      • DefaultLoyaltyCard
      • BonusLoyaltyCard
      • LoyaltyCardType
      • LoyaltyCardValidationType
      • Shipment
      • ShipmentStatus
      • Category
      • Addition
      • Address
      • Currency
      • BuyerParty
      • Campaign
      • CampaignCode
      • ClientCard
      • Information
      • Inspection
      • Invoice
      • LangCode
      • Price
      • Product
      • Quantity
      • SellerParty
      • Total
      • TotalVAT
      • Translatable
      • Receipt
      • ReceiptProduct
      • ReceiptLoyaltyCard
      • ReceiptCategory
      • VAT
    • Request & Responses
      • NodeHealthResponse
      • NodeVersionResponse
      • OfferSearchRequest
      • PickupOrderStatusChangeRequest
      • LoyaltyCardBonusResponse
      • LoyaltyCardBonusRequest
      • LoyaltyCardRegistrationResponse
      • LoyaltyCardRegistrationRequest
      • PurchaseControlCheckResendRequest
      • PurchaseControlResult
      • PurchaseControlCheckResponse
      • PurchaseControlCheckRequest
      • ReceiptPaymentConfirmationRequest
      • InstitutionRequest
      • Pageable
      • PageRequest
      • CreateReceiptRequest
      • ProductSearchRequest
    • Campaign standard
Powered by GitBook
On this page

Was this helpful?

  1. Integration
  2. Custom Integration
  3. Merchant side invoicing

Confirm receipt payment endpoint

PreviousCreate receipt endpointNextMerchant side purchase control

Last updated 5 years ago

Was this helpful?

Implementation is OPTIONAL

resource: /receipt/confirm

method: POST

Request :

Response: void

{
	"receipt": {
		"institutionInvoiceId": "12345",
		"invoiceId": "5bd5c446ad950100018a79c0",
		"institutionId": "0bcae304-867c-41af-9980-be0d8e828d4s",
		"customerId": "0bcae298-867c-41af-9980-be0d8e828d3e",
		"products": [
			{
				"id": "1ABC",
				"barcode": "ABC-abc-1234",
				"productName": "Helen kiirkaeraheleb 500g",
				"amount": "1.03",
				"rowPrice": "12",
				"categories": [
					{
						"id": "C1",
						"name": "Teraviljad"
					}
				]
			}
		],
		"loyaltyCards": [
			{
				"name": "BonusCard",
				"lastFourNumbers": "1234567"
			}
		],
		"shipment": {
			"method": "PARCEL",
			"parcelId": "1ABSC",
			"name": "Ravala street parcel",
			"status": "WAITING_FOR_CONFIRMATION",
			"price": 5,
			"currency": "EUR",
			"expectedDeliveryUTCTime": "2019-04-20T19: 30: 00.000Z",
			"createdUTCTime": "2019-04-22T19: 30: 00.000Z",
			"contactEmail": "test@test.ee",
			"contactPhone": "56314762",
			"address": {
				"level1": "EE",
				"level2": "Harjumaa",
				"level3": "Tallinn",
				"level4": "kesklinn",
				"level5": "Tartumnt.",
				"level6": "53",
				"level7": null,
				"level8": null,
				"postalCode": "10115"
			}
		},
		"currency": "EUR",
		"totalWithoutAddition": 11,
		"additionSum": 1,
		"totalWithoutVAT": 10,
		"vatSum": 2,
		"total": 12
	},
	"status": "PAYED"
}
ReceiptPaymentConfirmationRequest