POST
/
v1.1
/
checkout
Redirect checkout
curl --request POST \
  --url https://api.paymee.com.br/v1.1/checkout \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-api-token: <x-api-token>' \
  --data '{
  "amount": 1.99,
  "callbackURL": "https://foo.bar/paymeeListener",
  "currency": "BRL",
  "maxAge": 120,
  "paymentMethod": "ITAU_TRANSFER_PFF",
  "referenceCode": "refcode12345",
  "shopper": {
    "bankDetails": {
      "account": "12345-6",
      "branch": "1234"
    },
    "document": {
      "number": "00000000000",
      "type": "CPF"
    },
    "email": "foo@bar.com.br",
    "name": "JOHN DOE",
    "phone": {
      "number": "11999990000",
      "type": "WORK"
    }
  }
}'
{
"status": 0,
"message": "success",
"response": {
"amount": 1.99,
"gatewayURL": "https://secure.paymee.com.br/redir/55f6bb4e-d1aa-361e-bce3-758fd57ab6d0",
"referenceCode": "refcode12345",
"saleCode": "0002405",
"shopper": {
"bankDetails": {
"account": "12345-6",
"branch": "1234"
},
"document": {
"number": "00000000000",
"type": "CPF"
},
"email": "foo@bar.com.br",
"name": "JOHN DOE",
"phone": {
"number": "11999990000",
"type": "MOBILE"
}
},
"uuid": "55f6bb4e-d1aa-361e-bce3-758fd57ab6d0"
}
}

Headers

x-api-key
string
required
Example:

"your-x-api-key"

x-api-token
string
required
Example:

"your-x-api-token"

Body

application/json

Response

200
application/json

Success response

The response is of type object.