question

Sansone avatar image
Sansone asked ·

Get Status on [API Catalog Payment Following Raw ISO20022] ??

Hi,
When seeking a status update your docs reference
/{paymentId}/status directly in the URL structure. I've tried every ID from within the response JSON packet of a successful initiate request - and in each try I get a Server 500.

I've also tried using the parameter "paymentId" as a key value pair and in each of these tries - I get Error 400.

Where exactly should the paymentId be? and which of the ID's are actually the payment id in the following example initiate request JSON packet ?

Many thanks :))

Martin.
---------------

{
  "Document": {
    "CstmrPmtStsRpt": {
      "GrpHdr": {
        "MsgId": "JA5IK3727N8O0452",
        "CreDtTm": "2019-05-18T20:37:27.836Z",
        "InitgPty": {
          "Nm": "Direct Branch FrankfurtTR2X200",
          "Id": {
            "OrgId": {
              "Othr": [
                {
                  "Id": "1BSITFRANKFURT1"
                }
              ]
            }
          }
        }
      },
      "OrgnlGrpInfAndSts": {
        "OrgnlMsgId": "0502201900000",
        "OrgnlMsgNmId": "pain.001.001.06",
        "OrgnlCreDtTm": "2017-04-12T23:20:50.520Z"
      },
      "OrgnlPmtInfAndSts": [
        {
          "OrgnlPmtInfId": "0502201900000",
          "TxInfAndSts": [
            {
              "StsId": "JA5IK3727GNO044Z",
              "OrgnlInstrId": "0502201900000",
              "OrgnlEndToEndId": "0502201900000",
              "TxSts": "RJCT",
              "StsRsnInf": [
                {
                  "Rsn": {
                    "Prtry": "6042"
                  }
                }
              ],
              "OrgnlTxRef": {
                "IntrBkSttlmAmt": {
                  "Amt": 10.01,
                  "Ccy": "EUR"
                },
                "Amt": {
                  "InstdAmt": {
                    "Amt": 10.01,
                    "Ccy": "EUR"
                  }
                },
                "ReqdExctnDt": "2017-10-27",
                "PmtMtd": "TRF",
                "Dbtr": {
                  "Nm": "Joe Nick TRANS1TR2X2001",
                  "Id": {
                    "OrgId": {
                      "Othr": [
                        {
                          "Id": "1BSITFRANKFURT1"
                        }
                      ]
                    }
                  }
                },
                "DbtrAcct": {
                  "Id": {
                    "IBAN": "FR7612345543216019333320929"
                  }
                },
                "DbtrAgt": {
                  "FinInstnId": {
                    "BICFI": "FNSTFRP1XXX"
                  }
                },
                "CdtrAgt": {
                  "FinInstnId": {
                    "BICFI": "CITIDEFFXXX"
                  }
                },
                "Cdtr": {
                  "Nm": "Jerry WalkerTR2X2001"
                },
                "CdtrAcct": {
                  "Id": {
                    "IBAN": "DE89370400440532013000"
                  }
                }
              }
            }
          ]
        }
      ]
    },
    "@xmlns": "urn:iso:std:iso:20022:tech:xsd:pain.002.001.06"
  }
} 





10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

francois.lasne avatar image
francois.lasne answered ·

When you do your payment you should receive back a location header, in the response, this is the one you should use to then track the status of the payment


RESPONSE HEADERS

Location : string

relative URL to track the payment

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thank you Francois for replying at midnight :)

0 Likes 0 · ·