Simulate Payment Statuses (sandbox)

Through this API it is possible to force authorization of payment in the test environment.

Possible statuses to simulate

  • Credit Card: IN_ANALYSIS
  • Banking Billet: WAITING
  • Online Debit: WAITING

Besides being able to simulate payment statuses for AUTHORIZED you can also force other types of status. See below how to simulate the status IN_ANALYSIS and CANCELLED.

IN_ANALYSIS (Awaiting Payment)

To simulate the status IN_ANALYSIS, that is, make the order stay like Awaiting Payment, just inform ANALYZE as the cardholder name, see example below:

{
    "installmentCount": 1,
    "fundingInstrument": {
        "method": "CREDIT_CARD",
        "creditCard": {
            "hash": "2n9vykIkGX5tegvdl+ow5ngPxP3ItAkp9tc1tzuMTeAuF457uN99CJIG386RD/iV5JPjwr9uCgr0XNYraMulcNJnys2b+A2pl7VcNmO83N5YBkViG+mo9SSCXMcBYBIcGotInur49DpKwylMbMFFWWYFsO/pq8e+zAe6g7dOLcKwkGlVrNL1PKepWxd5ldt44yPZhMeG82eiLxbnXrkAtcY19Phjlg7GIhCj3hjxSYi0Y6iUtLYmTpsVQIs93myH7LLU30gZ88xRMAYbmshi7fc8clfDkLbUPcCCDDYwe6ltFYX1J0YA/TT87Amj9filRlTzLuU9qvKHlXpq2Q/H",
            "holder": {
                "fullname": "ANALYZE",
                "birthdate": "1980-01-02",
                "taxDocument": {
                    "type": "CPF",
                    "number": "12345679891"
                },
                "phone": {
                    "countryCode": "55",
                    "areaCode": "11",
                    "number": "25112511"
                }
            }
        }
    }
}

CANCELLED (Not Paid)

Cancelled by Wirecard Brasil

To simulate the status CANCELLED, by Wirecard Brasil, that is, make the order stay like Not Paid, just inform REJECT as the cardholder name, see example below:

{
    "installmentCount": 1,
    "fundingInstrument": {
        "method": "CREDIT_CARD",
        "creditCard": {
            "hash": "2n9vykIkGX5tegvdl+ow5ngPxP3ItAkp9tc1tzuMTeAuF457uN99CJIG386RD/iV5JPjwr9uCgr0XNYraMulcNJnys2b+A2pl7VcNmO83N5YBkViG+mo9SSCXMcBYBIcGotInur49DpKwylMbMFFWWYFsO/pq8e+zAe6g7dOLcKwkGlVrNL1PKepWxd5ldt44yPZhMeG82eiLxbnXrkAtcY19Phjlg7GIhCj3hjxSYi0Y6iUtLYmTpsVQIs93myH7LLU30gZ88xRMAYbmshi7fc8clfDkLbUPcCCDDYwe6ltFYX1J0YA/TT87Amj9filRlTzLuU9qvKHlXpq2Q/H",
            "holder": {
                "fullname": "REJECT",
                "birthdate": "1980-01-02",
                "taxDocument": {
                    "type": "CPF",
                    "number": "12345679891"
                },
                "phone": {
                    "countryCode": "55",
                    "areaCode": "11",
                    "number": "25112511"
                }
            }
        }
    }
}

Cancelled by Acquirer

To simulate the status CANCELLED, by the acquirer, that is, make the order stay like Not Paid, just inform CANCEL as the cardholder name, see example below:

{
    "installmentCount": 1,
    "fundingInstrument": {
        "method": "CREDIT_CARD",
        "creditCard": {
            "hash": "2n9vykIkGX5tegvdl+ow5ngPxP3ItAkp9tc1tzuMTeAuF457uN99CJIG386RD/iV5JPjwr9uCgr0XNYraMulcNJnys2b+A2pl7VcNmO83N5YBkViG+mo9SSCXMcBYBIcGotInur49DpKwylMbMFFWWYFsO/pq8e+zAe6g7dOLcKwkGlVrNL1PKepWxd5ldt44yPZhMeG82eiLxbnXrkAtcY19Phjlg7GIhCj3hjxSYi0Y6iUtLYmTpsVQIs93myH7LLU30gZ88xRMAYbmshi7fc8clfDkLbUPcCCDDYwe6ltFYX1J0YA/TT87Amj9filRlTzLuU9qvKHlXpq2Q/H",
            "holder": {
                "fullname": "CANCEL",
                "birthdate": "1980-01-02",
                "taxDocument": {
                    "type": "CPF",
                    "number": "12345679891"
                },
                "phone": {
                    "countryCode": "55",
                    "areaCode": "11",
                    "number": "25112511"
                }
            }
        }
    }
}

fullname

Status

REJECT

CANCELLED (cancellation made by Wirecard Brasil, ie the payment comes as "under analysis" in the API response and the cancellation is done asynchronously.)

CANCEL

CANCELLED (cancellation made by the acquirer, ie the payment already comes as canceled in the API response, synchronous cancellation)

ANALYZE

IN_ANALYSIS (payment under review by Wirecard, awaiting confirmation or refusal of payment.)

Language