Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
HTTP/1.1 201 Created
Content-Type: application/jwt
x-fapi-interaction-id: 942a7ee7-d29a-45aa-93b7-c5f292d86602
{
  "alg": "PS256",
  "kid": "e1be6bf3-76e6-4e53-92b9-c46423757ab1"
}
.
{
  "iss": "string",
  "exp": 0.5,
  "nbf": 0.5,
  "aud": [
    "string"
  ],
  "iat": 0.5,
  "message": {
    "Data": {
      "PaymentId": "83b47199-90c2-4c05-9ef1-aeae68b0fc7c",
      "ConsentId": "aac-69255d98-ab0e-4758-92a7-cacbf3073efa",
      "PaymentTransactionId": "string",
      "Status": "Pending",
      "StatusUpdateDateTime": "2024-05-01T00:00:00.000Z",
      "CreationDateTime": "2024-05-01T00:00:00.000Z",
      "Instruction": {
        "FileType": "UAEOF.pain.001.001.08",
        "FileHash": "m5ah/h1UjLvJYMxqAoZmj9dKdjZnsGNm+yMkJp/KuqQ",
        "NumberOfTransactions": 5,
        "ControlSum": "10003.40"
      },
      "PaymentPurposeCode": "ABCD",
      "PayerReference": "string"
    },
    "Links": {
      "Self": "/file-payments/83b47199-90c2-4c05-9ef1-aeae68b0fc7c",
      "Related": "/payment-consents/aac-69255d98-ab0e-4758-92a7-cacbf3073efa"
    },
    "Meta": {}
  }
}
.
<<signature>>

4.1 The TPP Requests Refund Account Details

4.1.1 Request: payment-consents/{ConsentId}/refund Resource

Code Block
languagebash
GET /open-finance/payment/v1.0-draft3/payment-consents/83b47199-90c2-4c05-9ef1-aeae68b0fc7c/refund HTTP/1.1
Host: rs1.openfinanceplatform.ae
Accept: application/jwt
x-fapi-interaction-id: 942a7ee7-d29a-45aa-93b7-c5f292d86602
Authorization: Bearer ad297304-1057-4c68-9e76-a96f300a27f1

4.1.2 Response: payment-consents/{ConsentId}/refund Resource

Code Block
HTTP/1.1 200 OK
Content-Type: application/jwt
x-fapi-interaction-id: 942a7ee7-d29a-45aa-93b7-c5f292d86602
{
  "alg": "PS256",
  "kid": "e1be6bf3-76e6-4e53-92b9-c46423757ab1"
}
.
{
  "iss": "string",
  "exp": 0.5,
  "nbf": 0.5,
  "aud": [
    "string"
  ],
  "iat": 0.5,
  "message": {
    "Data": {
      "BaseConsentId": "aac-69255d98-ab0e-4758-92a7-cacbf3073efa",
      "ConsentId": "aac-69255d98-ab0e-4758-92a7-cacbf3073efa",
        "CreditorAccount": {
          "IdentificationType": "UAEOF.IBAN",
          "Identification": "string",
          "Name": {
            "en": "string",
            "ar": "string"
          }
    },
    "Links": {
      "Self": "/payment-consents/aac-69255d98-ab0e-4758-92a7-cacbf3073efa/refund"
    },
    "Meta": {}
  }
}
.
<<signature>>

5. Open API Specification

...