Developers

CENTI payment API

This is Centi’s API for the handling of payments. It lets developers create a range of different types of invoices, along with options for checking on the status of payments.

Invoice

You provide us your merchant ID and the amount, we provide you with the invoice in the right format.

View details

Payment

Want to actively check one of your payment requests' status? Our servers are at your service. 

View details

Merchant

Our App, MerchantWebApp and Cashier are not enough? Have your own ideas? Great!

TopUp

Integrate Centi TopUp methods anywhere else than in the Centi App? Sure we can do that also.

POST INAPP invoice

This invoice type is for paying for items coming from Centi Merchant Management system.

It returns:

  • URL accordant to BIP272 (if respoonseType is URL)
  • PaymentRequest json object accordant to BIP270 (if responseType is BIP270_PAYMENT_REQUEST)
  • HTML page with QR code (if responseType is QR_HTML - not available yet)

POST MEDIA invoice

This invoice type is for paying for articles and base on previously generated pre-invoice. Barcode form is CENTI.MED.

It returns:

  • URL accordant to BIP272 (if respoonseType is URL)
  • PaymentRequest json object accordant to BIP270 (if responseType is BIP270_PAYMENT_REQUEST)
  • HTML page with QR code (if responseType is QR_HTML - not available yet)

POST RAW invoice

This invoice type is for any payment not related with some predefined flow (like in-ap-purchase or media flow) as here the client side fills all required data.

It returns:

  • URL accordant to BIP272 (if respoonseType is URL)
  • PaymentRequest json object accordant to BIP270 (if responseType is BIP270_PAYMENT_REQUEST)
  • HTML page with QR code (if responseType is QR_HTML - not available yet)

GET Payment status

This endpoint is to check if given payment (by it's ID) is already paid.

It returns boolean value.

PATH VARIABLES

paymentId

1c4f2b2a-56e3-482e-aa36-d9c5097d8d54
unique payment ID