Skip to main content
Get Hosted VRP Consent Requests
curl --request GET \
  --url https://api.yapily.com/hosted/vrp/consent-requests \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'sub-application: <sub-application>'
{
  "meta": {
    "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
  },
  "data": [
    {
      "id": "ad4bfe58-6352-11ee-8c99-0242ac120002",
      "applicationId": "45cf7ffe-6350-11ee-8c99-0242ac120002",
      "institutionIdentifiers": {
        "institutionId": "modelo-sandbox",
        "institutionCountryCode": "GB"
      },
      "vrpSetup": {
        "limits": {
          "periodicLimits": [
            {
              "maxAmount": {
                "amount": 100,
                "currency": "GBP"
              },
              "frequency": "MONTHLY",
              "alignment": "CALENDAR"
            }
          ],
          "maxAmountPerPayment": {
            "amount": 10,
            "currency": "GBP"
          }
        },
        "recurringPaymentCategory": "ONGOING",
        "risk": {
          "contextType": "ECOMMERCE_MERCHANT"
        }
      },
      "updatedAt": "2023-10-05T07:56:44.552Z",
      "consentStatus": "AUTHORIZED"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.

Headers

sub-application
string
required

Mandatory. The unique identifier of the sub application the request is being submitted on behalf of (e.g. an underlying merchant)

Response

Ok

meta
object
data
object[]