Solicitação de geração de cobrança com QRCode PicPay
POSThttps://checkout-api-sandbox.picpay.com/api/v1/charge/wallet
Solicitação de geração de cobrança com QRCode PicPay
Request
Responses
- 200
- 400
- 401
- 415
- 500
OK
Bad Request
Unauthorized
Unsupported Media Type
Internal Server Error
Authorization: http
name: bearerTokentype: httpscheme: bearerbearerFormat: JWT
- curl
- CURL
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"
}
]
}'
ResponseClear