Transaction

https://api.test.netgiro.is/v1/transactions

Get details about sale

Request body:

Name Required Description
TransactionId Yes Identifier of the payment in Netgíró system

Response body:

Name Values
Success true, false
ResultCode normal result codes (200, 400, etc.)
Message string (additional message explaining the result)
IsRefundable bool (the value which tells us if the sale is refundable)
Status string (status of sale: paid, unpaid, canceled, new)
Created DateTime (time when sale was created)
InvoiceNumber int (invoice number for the sale)
TotalAmount decimal (total amount of sale)
TransactionId GUID (identifier of the payment in Netgíró system)
SettlementDate DateTime (date after which the money will be settled to provider)

Possible responses for Transaction:

  • Successful get
    • Success = true
    • ResultCode = Success (200)
    • Message = string
    • IsRefundable = bool
    • Status = string
    • Created = DateTime
    • InvoiceNumber = int
    • TotalAmount = decimal
    • TransactionId = GUID
    • SettlementDate = DateTime
  • Sale not found
    • Success = false
    • Message = Sale not found
  • Any other error
    • Success = false
    • Message = Error on request.
    • ResultCode = 500

© 2024 Netgíró Greiðslumiðlun. - Kt: 5101222830 | Katrínartún 2, 105 Reykjavík | Sími: 4 300 330 | netgiro@netgiro.is