The tutorials in the section provide examples of how to get the details of a payment initiated using the PagoNxt Payments Hub API camt.027.001.07 message format. For each tutorial example, the following sections must be completed.
Submit the payment
This section describes how to submit a payment via a camt.027 HTTP request to the Payments Hub API. It also illustrates a successful response.
Request
Create and send a request using the following operation:
GET https://sandbox.api.pagonxt.com/payments/camt027/v07{paymentsHubId}Headers
The request must contain the headers shown in the following table.
Header name | Description | Required/ Optional | Values |
|---|---|---|---|
X-Client-Id | Client ID | Required | <Client ID> |
Parameters
The request must contain the path parameter shown in the following table.
Parameter type | Parameter name | Description | Data format | Required/ Optional |
|---|---|---|---|---|
Path | paymentsHubId | Payments Hub ID related to the payment refund whose details you want to retrieve. This is the value you received when you originally submitted the payment refund request. | String | Required |
Response
If the request is valid, you receive an HTTP 200 OK response, which means that the payment refund details were successfully retrieved. For further details of HTTP response codes and instructions on how to handle errors, see HTTP codes and request error handling .
In addition to the response code, the response body returns the fIToFIPmtRvsl JSON object, which contains a pain.001 ISO message. This message contains different elements depending on which payment scheme was used in the original transaction.
Response body
The following tutorials provide specific examples of the camt.027 message per scheme