Get payment details

Prev Next

This tutorial describes how you can get payment details with the Payments Hub API.

For this tutorial, consider a scenario where a customer wants to see the ID of each transaction for a payment they have previously made. The Payments Hub API can be used to retrieve these details. The tutorial describes how you can retrieve the payment details using the ISO pacs.008 message.

Retrieve the payment details

This section describes how to retrieve the payment details via a pacs.008 HTTP request to the Payments Hub API. To send this request, you need to provide the Payments Hub ID. This section also illustrates a successful response.

Request

Create and send a request using the following operation:

GET https://sandbox.api.pagonxt.com/payments/pacs008/v08/{paymentsHubId}

Headers

The request must contain the headers shown in the following table.

Parameter type

Parameter name

Description

Data format

Required/Optional

Path

paymentsHubId

Payments Hub ID related to the payment whose details you want to retrieve. This is the value you received when you originally submitted the payment.

String

Required

Response body

The following tutorials provide specific examples of the pacs.008 message per scheme