Versions Compared

Key

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

...

The definitions for the Status:

  S.No.

Status

Status Description

1

AwaitingAuthorisation

The consent resource is awaiting PSU authorisation.

2

Rejected

The consent resource has been rejected.

3

Authorised

The consent resource has been successfully authorised.

4

Consumed

The consented action has been successfully completed. This does not reflect the status of the consented action

...

4.1.      POST /domestic-future-dated-payment-consents

4.1.1     Request

POST /domestic-future-dated-payment-consents

Authorization: Bearer 4ZopnFZFKjr5zDsicSQpLL

x-idempotency-key: XYZ.51403.MLT.30

x-jws-signature: LMlmPSqzISEpar72ce5deMGue4RsZMDnZYG1bW6hdPlvriZ=..G1rrM18vVYBmdmRurS6nIR1yFHR8bGZyIJdvaB5nKGRvm35hTr==

x-fapi-auth-date: Tue, 18 Mar 2020 19:43:31 GMT

x-fapi-customer-ip-address: 204.35.213.15

x-fapi-interaction-id: 75bdc714-b2dg-7676-c759-780d6815689f

Content-Type: application/json

Accept: application/json

{

  "Data": {

    "Permission": "Create",

    "ReadRefundAccount": "No",

   "Initiation": {

      "InstructionIdentification": "0616I029",

      "EndToEndIdentification": "20190616B002",

      "LocalInstrument": "EFT-CSCT-DNS",

      "RequestedExecutionDateTime": "2020-03-18T04:57:51.126Z",

      "InstructedAmount": {

        "Amount": "2.13",

        "Currency": "BHD"

      },

      "DebtorAccount": {

        "SchemeName": "IBAN",

        "Identification": "BH10BBKU00100000008876",

        "Name": "Aamir Khan",

        "SecondaryIdentification": "00023"

      },

      "CreditorAccount": {

        "SchemeName": "IBAN",

        "Identification": "BH89ABIC00000987654321",

        "Name": "Asif Khan",

        "SecondaryIdentification": "00025"

      },

        "CreditorPostalAddress": {

        "AddressType": "Business",

        "Department": " ",

        "SubDepartment": " ",

        "StreetName": "Route 1888",

        "BuildingNumber": "27",

        "PostCode": "317",

        "TownName": "Manama",

        "CountySubDivision": "Manama”

        "Country": "BH",

        "AddressLine": "Block 317, Road 1702, Building 96”

      },   

 

      "RemittanceInformation": {

        "RemittanceDescription": "Internal ops code 5120101",

        "Reference": "STORE-101"

      },

    "Authorisation": {

      "AuthorisationType": "Single",

      "CompletionDateTime": "2020-03-12T09:10:17.594Z"

    },

    "SCASupportData": {

      "RequestedSCAExemptionType": "BillPayment",

      "AppliedAuthenticationApproach": "CA",

      "ReferencePaymentOrderId": "000025"

    }

  },

  "Risk": {

    "PaymentContextCode": "BillPayment",

    "MerchantCategoryCode": "002345",

    "MerchantCustomerIdentification": "0023456789",

    "DeliveryAddress": {

      "AddressLine": "Block 317, Road 1702, Building 96”,

      "SubDepartment": " ",

      "StreetName": "Route 1888",

      "BuildingNumber": "27",

      "PostCode": "317",

      "TownName": "Manama",

      "CountySubDivision": "Manama”      

      "Country": "BH",    }

  }

}

4.1.2      Response

201 Created

x-jws-signature: LMlmPSqzISEpar72ce5deMGue4RsZMDnZYG1bW6hdPlvriZ=

x-fapi-interaction-id: 75bdc714-b2dg-7676-c759-780d6815689f

Content-Type: application/json

{

  "Data": {

    "ConsentId": "56565656",

    "CreationDateTime": "2020-03-18T04:57:51.128Z",

    "Status": "Authorised",

    "StatusUpdateDateTime": "2020-03-18T04:57:51.128Z",

    "Permission": "Create",

    "ReadRefundAccount": "No",

    "CutOffDateTime": "2020-03-18T04:57:51.128Z",

    "ExpectedExecutionDateTime": "2020-03-18T04:57:51.128Z",

    "ExpectedSettlementDateTime": "2020-03-18T04:57:51.128Z",

    "Charges": [

      {

        "ChargeBearer": "BorneByCreditor",

        "Type": "TO_BE_CONFIRMED",

        "Amount": {

          "Amount": "2.13",

          "Currency": "BHD"

        }

      }

    ],

   "Initiation": {
      "InstructionIdentification": "07171I030",
      "EndToEndIdentification": "20200716D004",
      "LocalInstrument": "EFT-CSCT-DNS",
      "InstructedAmount": {
        "Amount": "2.13",
        "Currency": "BHD"
      },

      "DebtorAccount": {
        "SchemeName": "IBAN",
        "Identification": "BH10BBKU001000000012345",
        "Name": "Aamir Khan",
        "SecondaryIdentification": "00026"
      },
      "CreditorAccount": {
        "SchemeName": "IBAN",
        "Identification": "BH89ABIB00000123456789",
        "Name": "Asif Khan",
        "SecondaryIdentification": "00026"
      },

          "CreditorPostalAddress": {

        "AddressType": "Business",

        "Department": " ",

        "SubDepartment": " ",

        "StreetName": "Route 1888",
        "BuildingNumber": "27",
        "PostCode": "317",
        "TownName": "Manama",
        "CountySubDivision": "Manama”       

        "Country": "BH",

        "AddressLine": "Block 317, Road 1702, Building 96”

      },

      "RemittanceInformation": {

        "RemittanceDescription": "Internal ops code 5120101",

        "Reference": "STORE-101"

      },  

    "Authorisation": {

      "AuthorisationType": "Single",

      "CompletionDateTime": "2020-03-12T09:10:17.595Z"

    },

    "SCASupportData": {

      "RequestedSCAExemptionType": "BillPayment",

      "AppliedAuthenticationApproach": "CA",

      "ReferencePaymentOrderId": "0000002345"

    }

  },

  "Risk": {

    "PaymentContextCode": "BillPayment",

    "MerchantCategoryCode": "002345",

    "MerchantCustomerIdentification": "0023456789",

    "DeliveryAddress": {

    "AddressLine": "Block 317, Road 1702, Building 96”,

    "SubDepartment": " ",

    "StreetName": "Route 1888",

    "BuildingNumber": "27",

    "PostCode": "317",

    "TownName": "Manama",

    "CountySubDivision": "Manama”       

    "Country": "BH",   

    }

  },

  "Links": {

    "Self": "www.TBC.com"

  },

  "Meta": {

    "TotalPages": 02,

    "FirstAvailableDateTime": "2020-03-12T09:10:17.596Z",

    "LastAvailableDateTime": "2020-03-12T09:10:17.596Z"

  }