when the originator bank can send a request for status update to the beneficiary bank for an inquiry sent earlier which the beneficiary bank has not yet replied to. The inquiry could be:
Recall Requests (camt.056)
Claim of Non-Receipt (camt.027)
Claim of Value Date Correction (camt.087)
The tutorials in the section provide examples of creating a payment return request using the PagoNxt Payments Hub API pacs.028.001.03 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 pacs.028 HTTP request to the PagoNxt Payments Hub API.
Request
Create and send a request using the following operation:
POST https://sandbox.api.pagonxt.com/payments/pacs028/v03Headers
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> |
sca-token |
| Required | <SCA Token> |
Request body
The request must include a JSON payload object in the request body. The JSON payload is a pacs.028 ISO message with the fitoFICstmrCdtTrf root element, and it contains the request details for submitting a payment.
The below tutorials provide some examples of payloads. For details on all the required and optional message fields, see document
Tutorials
Response
If the request is valid, you receive an HTTP 201 Created response, which means that the payment return request was successfully submitted. In addition, the response body returns the data JSON object, which contains payment return details. If the request is submitted again with the same message ID, you receive an HTTP 200 OK response. For further details of HTTP response codes and instructions on how to handle errors, see HTTP codes and request error handling.
Element | Description | Data type |
|---|---|---|
paymentsHubId | Payments Hub ID, which uniquely identifies your payment return request in Payments Hub. You can use it if you later need to retrieve the payment return details. | String |
paymentId | Message ID you defined in the request as the grpHdr.msgId field value | String |
status | Current status of the payment return. Since Payments Hub stores all requests for a while before performing the transaction settlement, this value is returned as PENDING. | String |
creationDateTime | Date and time of creation | String |
Example response body:
{
"data": {
"paymentsHubId": "01838244-f53a-35ff-b870-fd81c8f3b64d",
"paymentId": "MsgId-6186662747",
"status": "PENDING",
"creationDateTime": "2022-06-09T11:23:09.6006"
}
}