---
title: "$viva->transactions->recurring()"
method: POST
path: "/Transactions/recurring"
tags: ["Transactions"]
---

# $viva->transactions->recurring()

`POST /Transactions/recurring`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/qrcommunication/apis/viva-wallet-merchant-sdk-re-fe-rence-php/docs/Transactions/recurring/post.ts> (a function with typed inputs; its response is checked against the schema)

Effectue un paiement récurrent en utilisant le token de la transaction initiale.

Prérequis : l'ordre initial doit avoir été créé avec `allowRecurring: true`.

```php
// Charge récurrente de 15,00 EUR
$result = $viva->transactions->recurring(
    initialTransactionId: 'initial-txn-uuid',
    amount: 1500,
);
```

## Query parameters

- `initialTransactionId` string, uuid, required
- `amount` integer, required
- `sourceCode` string, nullable

## Response `200`

Paiement récurrent effectué

- object

## Other responses

- `400`: `ApiException` — Charge récurrente échouée

## Changes

- **2026-03-18** `b25ecb15a272`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/qrcommunication/apis/viva-wallet-merchant-sdk-re-fe-rence-php/changes/Transactions/recurring/post.md)

---

[API](https://skmtc.dev/qrcommunication/apis/viva-wallet-merchant-sdk-re-fe-rence-php.md) - [All operations](https://skmtc.dev/qrcommunication/apis/viva-wallet-merchant-sdk-re-fe-rence-php/llms.txt) - [OpenAPI document](https://skmtc.dev/qrcommunication/apis/viva-wallet-merchant-sdk-re-fe-rence-php/revisions/bcafd06ce584?raw)
