Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
colourYellow
titlefor review

Approver

Pavel Shkadzko

Code Block
languagejson
//get the payment

GET /paymentRequests/b4bd3e80-7bd1-11e4-95ab-000000000000/payment
Host: pay-api.gini.net
Authorization: BEARER c796535e-32e4-11eb-b966-e30e07dee3dc
Accept: application/vnd.gini.v1+json
Response

Key

Description

paidAt

ISO 8601 date string defining point in time when the payment request was resolved.

recipient

The recipient of the payment.

iban

The IBAN (international bank account number) of the payment recipient.

bic

The BIC (bank identifier code) for the payment.

amount

The amount of the payment. See Amount.

purpose

The purpose of the payment, for example, the invoice or customer identifier.

_links

Object with links to other resources, for example, document and Payment Request.

Code Block
languagejson
//get the payment

GET /paymentRequests/b4bd3e80-7bd1-11e4-95ab-000000000000/payment
Host: pay-api.gini.net
Authorization: BEARER c796535e-32e4-11eb-b966-e30e07dee3dc
Accept: application/vnd.gini.v1+json
Code Block
languagejson
//response

{
  "paidAt": "2020-12-07T15:53:26",
  "recipient": "Dr. med. Hackler",
  "iban": "DE02300209000106531065",
  "bic": "CMCIDEDDXXX",
  "amount": "335.50:EUR",
  "purpose": "ReNr AZ356789Z",
  "_links": {
     "paymentRequest": "https://pay-api.gini.net/paymentRequests/b4bd3e80-7bd1-11e4-95ab-000000000000",
     "sourceDocumentLoction": "https://pay-api.gini.net/documents/88090c5a-32ed-11eb-9e1a-9f2bc4656a7d",
     "self": "https://pay-api.gini.net/payment/b4bd3e80-7bd1-11e4-95ab-000000000000/payment"
  }
}

...