Sources
$viva->sources->create()
Crée une nouvelle source de paiement.
$source = $viva->sources->create(
name: 'Mon site web',
sourceCode: '1234',
domain: 'www.example.com',
pathSuccess: '/paiement/succes',
pathFail: '/paiement/echec',
);
post/Sources/create
Request body
Example request
{
"name": "Mon site web",
"sourceCode": "1234",
"domain": "www.example.com",
"pathSuccess": "/paiement/succes",
"pathFail": "/paiement/echec"
}Response
Source créée
object required
Changes
Changed in 1 of the 9 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○