paymentConsents

Payment Consents Get

get/consent/payment/{consentId}

Request

  • Base URL: https://api.sandbox.tryspare.ae
  • URL: https://api.sandbox.tryspare.ae/consent/payment/{consentId}
  • Auth: HTTP bearer

Path parameters

consentIdstring required

UUID of the consent (returned when the consent was created).

Headers

x-tenantstring required
Example:UAE

Regulatory jurisdiction the request routes to (e.g. UAE, KSA, MAIN). Match it to the market you're integrating.

Response

Success response

errorstring nullable
errorDescriptionobject nullable

Example response

{
  "data": {
    "connection": {
      "createdAt": "2025-01-01T00:00:00Z",
      "provider": {
        "country": "AE"
      },
      "updatedAt": "2025-01-01T00:00:00Z"
    },
    "createdAt": "2025-01-01T00:00:00Z",
    "executionDateTime": "2025-01-01T00:00:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.