paymentConsents

Payment Consents Update

patch/consent/payment/update/{consentId}

Request

  • Base URL: https://api.sandbox.tryspare.ae
  • URL: https://api.sandbox.tryspare.ae/consent/payment/update/{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.

Request body

statusstring required

Current status of the resource.

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.