SQS Inject for VCC Tracker Testing

eventName = 'VCC_AMENDMENT'

eventTime set current date/timestamp


Status = 'IN_PROGRESS'

Reason = 'AUTHORIZATION_APPROVED'

Set VCC Request Status = 'AUTHORIZATION_IN_PROGRESS'

1

{
    "id": 1815122414079598615,
    "origin": "TERA_PAYMENT",
    "referenceId": "1731035626791985-1",
    "routingId": "ID02",
    "status": "IN_PROGRESS",
    "reason": "AUTHORIZATION_APPROVED",
    "metadata": {
        "detailReferenceNumber": "TRK1j"
    },
    "currency": "IDR",
    "maxAmount": 100000,
    "maxRealAmount": "100000",
    "remainingAmount": 100000,
    "remainingRealAmount": "100000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2026-11",
    "cardNumber": "5535179089350024",
    "cardSecurityCode": "880",
    "effectiveStartDate": "2024-12-02",
    "effectiveEndDate": "2024-12-06",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-11-08T10:13:47.441+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-11-08T10:13:51.807+07:00",
    "updatedBy": "VccCreationSqsConsumer"
}

Status = 'IN_PROGRESS'

Reason = 'AUTHORIZATION_REVERSED'

Set VCC Request Status = 'AUTHORIZATION_IN_PROGRESS'

1

{
    "id": 1815122787269894167,
    "origin": "TERA_PAYMENT",
    "referenceId": "1731035982400430-1",
    "routingId": "ID02",
    "status": "IN_PROGRESS",
    "reason": "AUTHORIZATION_REVERSED",
    "metadata": {
        "detailReferenceNumber": "TRK1k"
    },
    "currency": "IDR",
    "maxAmount": 100000,
    "maxRealAmount": "100000",
    "remainingAmount": 100000,
    "remainingRealAmount": "100000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2026-11",
    "cardNumber": "5535175422878556",
    "cardSecurityCode": "292",
    "effectiveStartDate": "2024-12-11",
    "effectiveEndDate": "2024-12-15",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-11-08T1019:19:43.343+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-11-08T1019:19:48.430+07:00",
    "updatedBy": "VccCreationSqsConsumer"
}

Status = 'IN_PROGRESS'

Reason = 'READY_FOR_RETRY'

Set VCC Request Status = 'NEED_RETRY'

1

{
    "id": 1815122912199335959,
    "origin": "TERA_PAYMENT",
    "referenceId": "1731036101651102-1",
    "routingId": "ID02",
    "status": "IN_PROGRESS",
    "reason": "READY_FOR_RETRY",
    "metadata": {
        "detailReferenceNumber": "TRK1l"
    },
    "currency": "IDR",
    "maxAmount": 250000,
    "maxRealAmount": "250000",
    "remainingAmount": 250000,
    "remainingRealAmount": "250000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2026-11",
    "cardNumber": "5535174119680680",
    "cardSecurityCode": "376",
    "effectiveStartDate": "2024-12-16",
    "effectiveEndDate": "2024-12-21",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-11-08T1021:21:42.485+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-11-08T1021:21:47.410+07:00",
    "updatedBy": "VccCreationSqsConsumer"
}

2

{
    "id": 1815123824997326871,
    "origin": "TERA_PAYMENT",
    "referenceId": "1731036972299706-1",
    "routingId": "ID02",
    "status": "IN_PROGRESS",
    "reason": "READY_FOR_RETRY",
    "metadata": {
        "detailReferenceNumber": "TRK1m"
    },
    "currency": "IDR",
    "maxAmount": 100000,
    "maxRealAmount": "100000",
    "remainingAmount": 100000,
    "remainingRealAmount": "100000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2026-11",
    "cardNumber": "5535179604522552",
    "cardSecurityCode": "375",
    "effectiveStartDate": "2024-12-23",
    "effectiveEndDate": "2024-12-25",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-11-08T1036:36:12.997+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-11-08T1036:36:18.600+07:00",
    "updatedBy": "VccCreationSqsConsumer"
}

Status = 'FAILED'

Reason = 'ALREADY_AUTHORIZED'

Set VCC Request Status = <no change>

1

{
    "id": 1815123091140927511,
    "origin": "TERA_PAYMENT",
    "referenceId": "TRKVCCPOOL1h",
    "routingId": "ID02",
    "status": "FAILED",
    "reason": "ALREADY_AUTHORIZED",
    "metadata": {},
    "currency": "IDR",
    "maxAmount": 150000,
    "maxRealAmount": "150000",
    "remainingAmount": 150000,
    "remainingRealAmount": "150000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2025-12",
    "cardNumber": "5535176577726996",
    "cardSecurityCode": "249",
    "effectiveStartDate": "2024-12-02",
    "effectiveEndDate": "2024-12-06",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [
        "test.man@gmail.com"
    ],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-11-08T1024:24:33.136+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-11-08T1025:25:21.115+07:00",
    "updatedBy": "paypog"
}

Status = 'FAILED'

Reason = 'UNKNOWN_REASON'

Set VCC Request Status = 'FAILED'

1

{
    "id": 1815123322043654167,
    "origin": "TERA_PAYMENT",
    "referenceId": "TRKVCCPOOL1i",
    "routingId": "ID02",
    "status": "FAILED",
    "reason": "UNKNOWN_REASON",
    "metadata": {},
    "currency": "IDR",
    "maxAmount": 100000,
    "maxRealAmount": "100000",
    "remainingAmount": 100000,
    "remainingRealAmount": "100000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2025-12",
    "cardNumber": "5535175707020460",
    "cardSecurityCode": "387",
    "effectiveStartDate": "2024-12-09",
    "effectiveEndDate": "2024-12-12",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [
        "test.man@gmail.com"
    ],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-11-08T1028:28:13.343+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-11-08T1028:28:59.179+07:00",
    "updatedBy": "paypog"
}

Status = 'SUCCESS'

Reason = 'CLEARANCE_CREDIT'

Set VCC Request Status = 'FAILED'

1

{
    "id": 1815123456687104023,
    "origin": "TERA_PAYMENT",
    "referenceId": "TRKVCCPOOL1j",
    "routingId": "ID02",
    "status": "SUCCESS",
    "reason": "CLEARANCE_CREDIT",
    "metadata": {},
    "currency": "IDR",
    "maxAmount": 323000,
    "maxRealAmount": "323000",
    "remainingAmount": 323000,
    "remainingRealAmount": "323000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2025-12",
    "cardNumber": "5535179147994516",
    "cardSecurityCode": "376",
    "effectiveStartDate": "2024-12-21",
    "effectiveEndDate": "2024-12-29",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [
        "test.man@gmail.com"
    ],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-11-08T1030:30:21.749+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-11-08T1031:31:28.072+07:00",
    "updatedBy": "paypog"
}