Versions Compared

Key

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

...

S. No.

Resource

HTTP Operation

Endpoint

Mandatory

Scope

Grant Type

Idempotency Key

Parameters

Request Object

Response Object

2.1

offers

GET

GET/accounts/{AccountId}/offers

ConditionalOptional

accounts

Authorisation Code

No

 

 

OBReadOffer

2.2

offers

GET

GET/offers

optional

accounts

Authorisation Code

No

Pagination

 

OBReadOffer

...

If an ASPSP has implemented the bulk retrieval endpoints, an AISP may optionally retrieve the offers in bulk. This will retrieve the resources for all authorised accounts linked to the account-request.

3.  Data Models

3.1 OBReadOffer

...

  • GET /accounts/{AccountId}/offers

  • GET /offers.

3.1.1 Resource Definition

...

  • Generic features (and pricing) for the account product will be not be available via the offers resources. These generic features will be available via the product resource.

  • The outcome of any offer (or product feature) uptake will not be reported via the offers resource. The benefits, interest, cash-back for any account will be available via the statements resource (if this is available to usersuser/customers in the existing ASPSP online channel).

An account (AccountId) may have no offers available, or may have multiple offers available.

3.1.2 UML Diagram

...

 

3.1.3 Notes

...

Name

Occurrence

XPath

Definition

Class/ Datatype

Codes

Pattern

OBReadOffer

 

OBReadOffer

 

OBReadOffer 

 

Data

1..1

OBReadOffer/Data

 

OBReadOffer/Data

 

 

Offer

0..n

OBReadOffer/Data/Offer

 

OBReadOffer/Data/Offer 

 

AccountId

1..1

OBReadOffer/Data/Offer/AccountId

A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner.

String 

 

OfferId

0..1

OBReadOffer/Data/Offer/OfferId

A unique and immutable identifier used to identify the offer resource. This identifier has no meaning to the account owner.

String

 

 

OfferType

0..1

OBReadOffer/Data/Offer/OfferType

Offer type, in a coded form.

String

 

Description

0..1

OBReadOffer/Data/Offer/Description

Further details of the offer.

String

 

 

StartDateTime

0..1

OBReadOffer/Data/Offer/StartDateTime

Date and time at which the offer starts.

DateTime 

 

EndDateTime

0..1

OBReadOffer/Data/Offer/EndDateTime

Date and time at which the offer ends.

DateTime

 

 

Rate

0..1

OBReadOffer/Data/Offer/Rate

Rate associated with the offer type.

String

 

^(-?\d{1,3}){1}(.\d{1,4}){0,1}$

Value

0..1

OBReadOffer/Data/Offer/Value

Value associated with the offer type.

Number

 

 

Term

0..1

OBReadOffer/Data/Offer/Term

Further details of the term of the offer.

String

 

 

URL

0..1

OBReadOffer/Data/Offer/URL

URL (Uniform Resource Locator) where documentation on the offer can be found

String

 

 

Amount

0..1

OBReadOffer/Data/Offer/Amount

Amount of money associated with the offer type.

OBReadOffer/Data/Offer/Amount

 

 

Amount

1..1

OBReadOffer/Data/Offer/Amount/Amount

A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217.

String

 

^\d{1,13}$\|^\d{1,13}\.\d{1,5}$

Currency

1..1

OBReadOffer/Data/Offer/Amount/Currency

A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 "Codes for the representation of currencies and funds".

String

 

^[A-Z]{3,3}$

Fee

0..1

OBReadOffer/Data/Offer/Fee

Fee associated with the offer type.

OBReadOffer/Data/Offer/Fee

 

 

Amount

1..1

OBReadOffer/Data/Offer/Fee/Amount

A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217.

String

 

^\d{1,13}$\|^\d{1,13}\.\d{1,5}$

Currency

1..1

OBReadOffer/Data/Offer/Fee/Currency

A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 "Codes for the representation of currencies and funds".

String

 

^[A-Z]{3,3}$

...