Formulário de Registro
Make Sure your API client is configured to always use the https://api.dreampay.com.br URL.
6. Tests and Sandbox
a. You can find the DreamPay API test environment at https://dev-api.dreampay.com.br
b. You can find the DreamPay API test environment Swagger document at https://dev-api.dreampay.com.br/docs/index.html
c. You can find the DreamPay Linkgenerator test environment at https://dev-linkgenerator.dreampay.com.br
Before accepting live payments, you can use the following test card numbers to test your integration.
These card numbers are only valid on our test platform, and will not result in a real transaction or transfer of funds.
Card Number Expiry Date CID
4110110043597521 03/2030 123
370000000000002 03/2030 7373
4003550000000003 03/2030 737
4360000001000005 03/2030 737
4166676667666746 03/2030 737
4000620000000007 03/2030 737
4293189100000008 03/2030 737
6703444444444449 03/2030 797
RETURN MESSAGE
|
---|
The following table shows the Transaction Statuses, that are defined by the FINAL NUMBER of each card, and the ReturnCode:
END OF CARD
|
TRANSACTION STATUS
|
RETURN MESSAGE
|
---|---|---|
XXXX.XXXX.XXXX.XXX0
|
200
|
Payment made successfully
|
XXXX.XXXX.XXXX.XXX1
|
200
|
Payment made successfully
|
XXXX.XXXX.XXXX.XXX4
|
200
|
Payment made successfully
|
XXXX.XXXX.XXXX.XXX2
|
400
|
Not Allowed
|
XXXX.XXXX.XXXX.XXX3
|
400
|
Expire Card
|
XXXX.XXXX.XXXX.XXX5
|
400
|
Blocked Card
|
XXXX.XXXX.XXXX.XXX6
|
400
|
Time Out
|
XXXX.XXXX.XXXX.XXX7
|
400
|
Card Canceled
|
XXXX.XXXX.XXXX.XXX8
|
400
|
Credit Card Problems
|
Test card Card 4110.1100.4359.7521 , for example, will simulate “Payment made successfully”.
Attention:
The sandbox environment evaluates the format and the end of the card.
If a real card is sent, the result of the operation will be identical to that described in the above table.
Add Your Heading Text Here
xxxx.xxxx.xxx0
xxxx.xxxx.xxx0
xxxx.xxxx.xxx0