Pular para o conteúdo principal

Solicitação de geração de cobrança com QRCode PicPay

POST 

https://checkout-api-sandbox.picpay.com/api/v1/charge/wallet

Solicitação de geração de cobrança com QRCode PicPay

Request

Responses

OK

Authorization: http

name: bearerTokentype: httpscheme: bearerbearerFormat: JWT
curl -L 'https://checkout-api-sandbox.picpay.com/api/v1/charge/wallet' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"paymentSource": "GATEWAY",
"smartCheckoutId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"merchantChargeId": "string",
"customer": {
"name": "Pessoa da Silva",
"email": "email@xpto.com",
"documentType": "CPF",
"document": "22926590008",
"phone": {
"countryCode": "55",
"areaCode": "27",
"number": "999999999",
"type": "MOBILE"
}
},
"deviceInformation": {
"ip": "string",
"id": "string",
"ipCountryCode": "string",
"ipCity": "string",
"ipRegion": "string",
"sessionId": "string"
},
"transactions": [
{
"paymentType": "CREDIT",
"amount": 100,
"softDescriptor": "Venda do produto x"
}
]
}'
Request Collapse all
Base URL
https://checkout-api-sandbox.picpay.com/api/v1
Auth
Parameters
— header
Body required
{
  "paymentSource": "GATEWAY",
  "smartCheckoutId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "merchantChargeId": "string",
  "customer": {
    "name": "Pessoa da Silva",
    "email": "email@xpto.com",
    "documentType": "CPF",
    "document": "22926590008",
    "phone": {
      "countryCode": "55",
      "areaCode": "27",
      "number": "999999999",
      "type": "MOBILE"
    }
  },
  "deviceInformation": {
    "ip": "string",
    "id": "string",
    "ipCountryCode": "string",
    "ipCity": "string",
    "ipRegion": "string",
    "sessionId": "string"
  },
  "transactions": [
    {
      "paymentType": "CREDIT",
      "amount": 100,
      "softDescriptor": "Venda do produto x"
    }
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!