SQS Inject for Change Payment Method Testing

eventName = 'VCC_AMENDMENT'

eventTime set current date/timestamp


Status = 'SUCCESS'

Reason = 'CLEARANCE_DEBIT'

Set VCC Request Status = 'SUCCESS'

1

{
    "id": 1818125145761386454,
    "origin": "TERA_PAYMENT",
    "referenceId": "1733899246883559-1",
    "routingId": "ID02",
    "status": "SUCCESS",
    "reason": "CLEARANCE_DEBIT",
    "metadata": {
        "detailReferenceNumber": "CPM39d"
    },
    "currency": "IDR",
    "maxAmount": 100000,
    "maxRealAmount": "100000",
    "remainingAmount": 100000,
    "remainingRealAmount": "100000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2026-12",
    "cardNumber": "5535178990245828",
    "cardSecurityCode": "106",
    "effectiveStartDate": "2025-01-02",
    "effectiveEndDate": "2025-01-06",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-12-11T13:40:55.525+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-12-12T10:43:45.734+07:00",
    "updatedBy": "paypog"
}

Status = 'IN_PROGRESS'

Reason = 'READY_FOR_RETRY'

Set VCC Request Status = 'NEED_RETRY'

1

{
    "id": 1818125208801775574,
    "origin": "TERA_PAYMENT",
    "referenceId": "1733899253035399-1",
    "routingId": "ID02",
    "status": "IN_PROGRESS",
    "reason": "READY_FOR_RETRY",
    "metadata": {
        "detailReferenceNumber": "CPM39e"
    },
    "currency": "IDR",
    "maxAmount": 100000,
    "maxRealAmount": "100000",
    "remainingAmount": 100000,
    "remainingRealAmount": "100000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2026-12",
    "cardNumber": "5535178442599632",
    "cardSecurityCode": "183",
    "effectiveStartDate": "2025-01-02",
    "effectiveEndDate": "2025-01-06",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-12-11T13:41:55.645+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-12-12T10:43:48.230+07:00",
    "updatedBy": "paypog"
}

Status = 'IN_PROGRESS'

Reason = 'AUTHORIZATION_REVERSED'

Set VCC Request Status = 'AUTHORIZATION_IN_PROGRESS'

1

{
    "id": 1818125149736538070,
    "origin": "TERA_PAYMENT",
    "referenceId": "1733899258947878-1",
    "routingId": "ID02",
    "status": "IN_PROGRESS",
    "reason": "AUTHORIZATION_REVERSED",
    "metadata": {
        "detailReferenceNumber": "CPM39f"
    },
    "currency": "IDR",
    "maxAmount": 100000,
    "maxRealAmount": "100000",
    "remainingAmount": 100000,
    "remainingRealAmount": "100000",
    "maxAuth": 1,
    "timeZone": "Asia/Jakarta",
    "cardExpiryDate": "2026-12",
    "cardNumber": "5535173939839260",
    "cardSecurityCode": "339",
    "effectiveStartDate": "2025-01-02",
    "effectiveEndDate": "2025-01-06",
    "dailyStartTime": null,
    "dailyEndTime": null,
    "paymentBeneficiaryEmails": [],
    "authorizationLogs": [],
    "clearanceLogs": [],
    "createdTime": "2024-12-11T13:40:59.316+07:00",
    "createdBy": "invoice-system@paypog",
    "updatedTime": "2024-12-12T10:43:47.646+07:00",
    "updatedBy": "paypog"
}