Formato não disponÃvel na ARKAMABETA
Cada evento segue o seguinte padrão:
- Eventos de venda: "ORDER_" + STATUS_DA_VENDA
- Eventos de carrinho: "CART_" + STATUS_DO_CARRINHO
Cada postback é enviado em caso de alteração do status do objeto referido no evento
{
"token": "e1fa3f290f4de6a0e9070580c5ba8a60",
"event": "ORDER_PAID",
"data": {
"cart": {
"id": "CTBEG3TM1",
"status": "FINISHED",
"url": "https://app.arkama.com.br/pay/PLBEG3ROF/CTBEG3TM1",
"ip": "127.0.0.1",
"useragent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
"metadata": {
"src": null,
"utm_source": null,
"utm_medium": null,
"utm_campaign": null,
"utm_term": null,
"utm_content": null,
"extra": []
},
"items": [
{
"quantity": 1,
"unitPrice": "12.00",
"plan": {
"id": "PLBEG3ROF",
"name": "Padrão"
},
"product": {
"id": "PDBEG3ROF",
"name": "teste teste"
}
}
],
"customer": {
"id": "CUBEG3LO1",
"name": "Comprador Teste",
"email": "comprador@teste.com",
"cellphone": "11999999999",
"document": "11122233344",
"address": {
"cep": null,
"country": null,
"state": null,
"city": null,
"street": null,
"neighborhood": null,
"number": null,
"complement": null
}
},
"created_at": "2024-06-26 04:02:16",
"updated_at": "2024-06-26 04:02:19"
},
"order": {
"id": "ORBEG3T59",
"status": "PAID",
"value": "12.00",
"total_value": "12.00",
"paymentMethod": "PIX",
"installments": 0,
"subscription": null,
"url": "https://app.arkama.com.br/pay/order/ORBEG3T59",
"externalRef": null,
"pix": {
"payload": "00020101021226820014br.gov.bcb.pix2560qrpix-h.bradesco.com.br/9d36b84f-c70b-478f-b95c-12729b90ca25520400005303986540512.005802BR5905ASAAS6009JOINVILLE62070503***63045E49",
"e2e": "E00795423202310041923E8gad39uyaD",
"e2e_dev": "E00795423202310041923E8gad39uyaD"
},
"splits": [
{
"name": "PLATFORM",
"type": "PLATFORM",
"amount": "2.06"
},
{
"name": "Arkama",
"type": "PRODUCER",
"amount": "9.94"
}
],
"refund_type": "BACEN_MED",
"refund_reason": "Compra contestada pelo comprador",
"created_at": "2024-06-26 04:02:19",
"paid_at": "2024-06-26 04:03:04",
"refunded_at": null,
"updated_at": "2024-06-26 04:03:04"
}
}
}