Ziwako Docs
ZiwakoRéférence APIPayments

Init Payment

POST
/payments/init

Authorization

X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/payments/init" \  -H "Content-Type: application/json" \  -d '{    "owner": "string",    "ownerModel": "string",    "amount": 0,    "description": "string",    "returnUrl": "string"  }'
{  "payment_token": "string",  "payment_url": "string",  "transaction_id": "string"}