Payments platform supported by REST APIs

Transactions API

Method
Description

GET

getPaymentByPaymentId

https://test-apis.us-east-1.libertymutual.com/hydra/v1/transactions/payments/{paymentId}

This API returns payment details for given payment Id

GET

getPaymentByClientPaymentId

https://test-apis.us-east-1.libertymutual.com/hydra/v1/transactions/payments

This API gives the payment information e.g. status for a given a client Id and Client payment id

POST

Make Payment

https://test-apis.us-east-1.libertymutual.com/hydra/v1/transactions/payments

Make a payment now or schedule one in future

Instruments API

Method
Description

POST

storeInstrument

https://test-apis.us-east-1.libertymutual.com/hydra/v1/instruments

This API stored payment instrument details

POST

initiateInstrument

https://test-apis.us-east-1.libertymutual.com/hydra/v1/instruments/hosted-page/initiate

Creates instrument hosted page html snippet

GET

getInstrumentDetails

https://test-apis.us-east-1.libertymutual.com/hydra/v1/instruments/{instrumentId}

This API returns details of the stored payment instrument

Hosted Payment Page API

Method
Description

POST

Initiate Hosted Page for Payment

https://test-apis.us-east-1.libertymutual.com/hydra/v1/transactions/payments/hosted-page/initiate

This API will bring us access-token to render the Hosted Pay Page (HPP) to capture payment instrument details