_CSS test

Code sample example:

Code sample: Authentication

curl -u {PROVIDED_SITE_ID}:{PROVIDED_API_KEY} \
     https://paytest.smart2pay.com/v1/payments/?limit=1
Messages example:
Test success message – class=”s2p-code-success”
Test error message – class=”s2p-code-error”
Test alert message – class=”s2p-code-alert”
Test warning message – class=”s2p-code-warn”
Test messsage on more rows
Test messsage on more rows
Test messsage on more rows
Test information message – class=”s2p-code-info-grey”
 

s2p-alert
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Test information message – class=”s2p-warn”

Test information message – class=”s2p-info”

s2p-resp-container

s2p-resp

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Authorization: Basic VWhsT0xtb0RGbzFaSEdWekx1N0hxNGhWUEhZY3VQUUg6
{
  "Payment": {
    "PreapprovalID":828,
    "MerchantTransactionID": "990121122769",
    "Amount": "100",
    "Currency": "BRL",
    "Customer": {  
      "Email" : "test_user_59479683@testuser.com"
    }
  }  
}   
s2p-req-container

s2p-req

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Authorization: Basic VWhsT0xtb0RGbzFaSEdWekx1N0hxNGhWUEhZY3VQUUg6
{
  "Payment": {
    "PreapprovalID":828,
    "MerchantTransactionID": "990121122769",
    "Amount": "100",
    "Currency": "BRL",
    "Customer": {  
      "Email" : "test_user_59479683@testuser.com"
    }
  }  
}   
 

s2p-def

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

s2p-def-items

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.

Totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.