Test Scenarios

Scenario
Data
Expected Results

Success

999966660001

{
    "code": "00",
    "message": "Success",
    "data": {
        "created": "2024-07-30T04:35:03Z",
        "merchantId": "922e39ab-7565-49f6-b84f-fb56122821ae",
        "payoutResults": {
            "totalFailedAmount": 0,
            "totalFailedCount": 0,
            "totalPendingAmount": 0,
            "totalPendingCount": 0,
            "totalSuccessAmount": 20000,
            "totalSuccessCount": 1
        },
        "payouts": [
            {
                "amount": {
                    "currency": "IDR",
                    "value": "10000"
                },
                "channelCode": "BRI",
                "channelInformation": {
                    "accountName": "Reforza Pivot",
                    "accountNumber": "999966660001"
                },
                "created": "2024-07-30T04:35:03Z",
                "description": "Testing Success",
                "inquiryId": "",
                "reason": "",
                "referenceId": "2024052400083464",
                "status": "SUCCESS",
                "updated": "2024-07-30T04:35:04Z"
            }
        ],
        "status": "DONE",
        "updated": "2024-07-30T04:35:04Z",
        "uuid": "98d3deee-f6fa-48b8-906a-0b99279d4687"
    },
    "pagination": {
        "page": 1,
        "perPage": 1,
        "totalItems": 1,
        "totalPages": 1
    }
}

Inactive Account

999966660002

{
    "code": "00",
    "message": "Success",
    "data": {
        "created": "2024-07-30T04:10:54Z",
        "merchantId": "922e39ab-7565-49f6-b84f-fb56122821ae",
        "payoutResults": {
            "totalFailedAmount": 20000,
            "totalFailedCount": 1,
            "totalPendingAmount": 0,
            "totalPendingCount": 0,
            "totalSuccessAmount": 0,
            "totalSuccessCount": 0
        },
        "payouts": [
            {
                "amount": {
                    "currency": "IDR",
                    "value": "10000"
                },
                "channelCode": "BRI",
                "channelInformation": {
                    "accountName": "Reforza Pivot",
                    "accountNumber": "999966660002"
                },
                "created": "2024-07-30T04:10:54Z",
                "description": "Testing Inactive Account",
                "inquiryId": "",
                "reason": "Inactive account",
                "referenceId": "2024052400083458",
                "status": "FAILED",
                "updated": "2024-07-30T04:10:54Z"
            }
        ],
        "status": "DONE",
        "updated": "2024-07-30T04:10:54Z",
        "uuid": "6619572d-650e-49e7-9ce3-bd955a2257b2"
    },
    "pagination": {
        "page": 1,
        "perPage": 1,
        "totalItems": 1,
        "totalPages": 1
    }
}

Invalid Account

999966660003

{
    "code": "00",
    "message": "Success",
    "data": {
        "created": "2024-07-30T04:15:03Z",
        "merchantId": "922e39ab-7565-49f6-b84f-fb56122821ae",
        "payoutResults": {
            "totalFailedAmount": 25000,
            "totalFailedCount": 1,
            "totalPendingAmount": 0,
            "totalPendingCount": 0,
            "totalSuccessAmount": 0,
            "totalSuccessCount": 0
        },
        "payouts": [
            {
                "amount": {
                    "currency": "IDR",
                    "value": "15000"
                },
                "channelCode": "BRI",
                "channelInformation": {
                    "accountName": "Reforza Pivot",
                    "accountNumber": "999966660003"
                },
                "created": "2024-07-30T04:15:03Z",
                "description": "Testing Invalid Account",
                "inquiryId": "",
                "reason": "Invalid account",
                "referenceId": "2024052400083459",
                "status": "FAILED",
                "updated": "2024-07-30T04:15:03Z"
            }
        ],
        "status": "DONE",
        "updated": "2024-07-30T04:15:03Z",
        "uuid": "7a296b29-3b82-4745-8de3-8efa3606ae5e"
    },
    "pagination": {
        "page": 1,
        "perPage": 1,
        "totalItems": 1,
        "totalPages": 1
    }
}

Dormant Account

999966660006

{
    "code": "00",
    "message": "Success",
    "data": {
        "created": "2024-07-30T04:20:35Z",
        "merchantId": "922e39ab-7565-49f6-b84f-fb56122821ae",
        "payoutResults": {
            "totalFailedAmount": 20000,
            "totalFailedCount": 1,
            "totalPendingAmount": 0,
            "totalPendingCount": 0,
            "totalSuccessAmount": 0,
            "totalSuccessCount": 0
        },
        "payouts": [
            {
                "amount": {
                    "currency": "IDR",
                    "value": "10000"
                },
                "channelCode": "BRI",
                "channelInformation": {
                    "accountName": "Reforza Pivot",
                    "accountNumber": "999966660006"
                },
                "created": "2024-07-30T04:20:35Z",
                "description": "Testing Dormant Account",
                "inquiryId": "",
                "reason": "Dormant account",
                "referenceId": "2024052400083461",
                "status": "FAILED",
                "updated": "2024-07-30T04:20:35Z"
            }
        ],
        "status": "DONE",
        "updated": "2024-07-30T04:20:35Z",
        "uuid": "9b108a66-f88b-4fa6-adb0-4a8830d2ff81"
    },
    "pagination": {
        "page": 1,
        "perPage": 1,
        "totalItems": 1,
        "totalPages": 1
    }
}            

Insufficient Balance

999966660007

{
    "code": "00",
    "message": "Success",
    "data": {
        "created": "2024-07-30T04:21:55Z",
        "merchantId": "922e39ab-7565-49f6-b84f-fb56122821ae",
        "payoutResults": {
            "totalFailedAmount": 0,
            "totalFailedCount": 0,
            "totalPendingAmount": 20000,
            "totalPendingCount": 1,
            "totalSuccessAmount": 0,
            "totalSuccessCount": 0
        },
        "payouts": [
            {
                "amount": {
                    "currency": "IDR",
                    "value": "10000"
                },
                "channelCode": "BRI",
                "channelInformation": {
                    "accountName": "Reforza Pivot",
                    "accountNumber": "999966660007"
                },
                "created": "2024-07-30T04:21:55Z",
                "description": "Testing Insufficient Balance",
                "inquiryId": "",
                "reason": "",
                "referenceId": "2024052400083462",
                "status": "APPROVED",
                "updated": "2024-07-30T04:21:56Z"
            }
        ],
        "status": "PENDING",
        "updated": "2024-07-30T04:21:56Z",
        "uuid": "eab4c929-fbbc-4dbb-a12d-251b86885b60"
    },
    "pagination": {
        "page": 1,
        "perPage": 1,
        "totalItems": 1,
        "totalPages": 1
    }
}

Timeout

999966660008

{
    "code": "service_unavailable",
    "message": "Gateway / Partner service is unavailable",
    "error": {
        "type": "GATEWAY_ERROR",
        "details": [
            {
                "field": "",
                "message": "Please hit periodically"
            }
        ],
        "trace_id": "fa6bf3d419b9ae2ff2a71cac548eb7ac"
    }
}

Last updated