Sync Transaction Status

When to use it? A transaction has been received in Toqio or has been initiated in Toqio side. You must update the object via notification with any status update received from the provider.

webhookType: SYNC_TRANSACTION_STATUS

model:

{  
    "id": "uuid",  
    "status": "FAILED | PENDING | ACCEPTED | CANCELLED",  
    "failureReason": "string",  
    "corePaymentType": "string",  
    "cardTransactionType": "string",  
    "balance": "number (double)",  
    "date": "string (date)",  
    "baseTotal": "number (double)",  
    "paymentProviderDetails": {  
        "shortReference": "string",  
        "internalReference": "string",  
        "paymentId": "string",  
        "conversionId": "string",  
        "settlementDate": "string (date)",  
        "rate": "number (double)"  
    }  
}

example:

{  
    "id": "c14a080d-7bd3-4bab-8e2f-1d71a0123e5f",  
    "status": "ACCEPTED",  
    "failureReason": "",  
    "corePaymentType": "payment-type-UK-BACS",  
    "cardTransactionType": "PURCHASE",  
    "balance": 100.5,  
    "date": "2024-06-27",  
    "baseTotal": 105.75,  
    "paymentProviderDetails": {  
        "shortReference": "SR123456",  
        "internalReference": "IR789012",  
        "paymentId": "PID987654",  
        "conversionId": "CID345678",  
        "settlementDate": "2024-06-28",  
        "rate": 1.05  
    }  
}