Testing

Hosted Payment Page API

Method
Description

POST

Initiate Payment

https://test-apis.libertymutual.com/hydra/v1/transactions/initiatePayment

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

Transactions API

Method
Description

GET

getPaymentByPaymentId

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

This API returns payment details for given payment Id

GET

getPaymentByClientPaymentId

https://test-apis.libertymutual.com/hydra/v1/transactions/getPayments

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

POST

Make Payment

https://test-apis.libertymutual.com/hydra/v1/transactions/payment

This API will make a payment using already stored Payment Instrument

Accounts API

Method
Description

GET

getAccountDetails

https://test-apis.libertymutual.com/hydra/v1/accounts/accountDetails

This API returns details of the stored payment instrument

Client Access Token API

Method
Description

POST

Generate Access Token

https://test-apis.libertymutual.com/hydra/v1/client-token

This API returns an access token