Ziwako Docs
ZiwakoRéférence APIPayments

Verify Payment Status

PUT
/payments/{transactionId}/status

Authorization

X-API-Key<token>

In: header

Path Parameters

transactionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/payments/string/status" \  -H "Content-Type: application/json" \  -d '{    "transactionId": "string"  }'
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "id": "string",    "amount": 0,    "type": "CREDIT",    "currency": "string",    "description": "string",    "provider": "string",    "status": "pending",    "statusMessage": "string",    "orderId": "string",    "bookingId": "string",    "owner": "string",    "ownerModel": "ProProfil",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "bonusUsed": 0,    "fee": 0  }}