# MD for: https://www.mercadopago.com.pe/developers/pt/docs/automatic-payments/recurring-charges/network-transaction-id.md \# Network Transaction ID - TID Starting from the new operational rules for the tokenization of recurring payment transactions for the Visa and Master brands, it will be necessary to send the transaction identifier from the brand (TID) with messaging transactions to be used within multi-acquiring and avoid potential fines. > \*Automatically, \*\*multi-acquiring\*\* involves more approval rules and databases to check payment information, ensuring the optimization of approvals according to the card brand and the payment retry itself. ## Process the first payment For the \*\*first payment\*\*, send the \`X-Expand-Responde-Nodes\` header to the endpoint \[v1/payments\](https://www.mercadopago.com.pe/developers/en/reference/online-payments/checkout-api-payments/create-payment/post) as indicated below. \`\`\`json --header 'X-Expand-Responde-Nodes: gateway.reference'\\ \`\`\` In the response, you can observe the return of the \`network\_transaction\_id\` in the \`expanded\` parameter. Example: \`\`\`json "expanded": { "gateway": { "reference": { "network\_transaction\_id": "n7w-c0d3-t7d" } } } \`\`\` | Parameter | Type | Description | Example | | --- | --- | --- | --- | | \`network\_transaction\_id\` | string | Associated with the network identifier. | 584152665425694 | ## Process subsequent payments For \*\*subsequent payments\*\*, send again the \`X-Expand-Responde-Nodes\` header to the endpoint \[v1/payments\](https://www.mercadopago.com.pe/developers/en/reference/online-payments/checkout-api-payments/create-payment/post) as indicated below. \`\`\`json --header 'X-Expand-Responde-Nodes: gateway.reference'\\ \`\`\` In the response, note the return of the \`network\_transaction\_id\` in the expanded parameter and, based on that, send the information of the \`network\_transaction\_id\` returned in the last payment made to the endpoint \[v1/payments\](https://www.mercadopago.com.pe/developers/en/reference/online-payments/checkout-api-payments/create-payment/post), via the \`forward\_data\` parameter, or using the cURL below. > WARNING > > Attention > > If the \`network\_transaction\_id\` is not returned in the last payment made, the value received in the first payment should be sent. \`\`\`curl curl --location 'https://api.mercadopago.com/v1/payments' \\ --header 'Authorization: Bearer ENV\_ACCESS\_TOKEN' \\ --header 'Content-Type: application/json' \\ --data '{ "description": "{{description}}", "token": "{{card\_token}}", "payer": { "id": "{{customer\_id}}", "type": "{{type}}" }, "payment\_method\_id": "{{payment\_method\_id}}", "transaction\_amount": {{transaction\_amount}}, "point\_of\_interaction": { "type": "{{type}}", "transaction\_data": { "first\_time\_use": {{first\_time\_use}}, "subscription\_id": "{{subscription\_id}}", "subscription\_sequence": { "number": {{subscription\_number}}, "total": {{subscription\_total}} }, "invoice\_period": { "period": {{invoice\_period}}, "type": "{{invoice\_type}}" }, "billing\_date": "{{billing\_date}}", "user\_present": {{user\_present}} } }, "forward\_data": { "network\_transaction\_data": { "network\_transaction\_id": "{{network\_transaction\_id}}" } } }' \`\`\` Example: \`\`\`json { "description": "TESTE", "external\_reference": "MP\_genova\_master", "installments": 1, "token": "{{token}}", "payer": { "id": "{{customer\_id}}", "entity\_type": "individual", "type": "customer" }, "payment\_method\_id": "master", "transaction\_amount": 1, "point\_of\_interaction": { "type": "SUBSCRIPTIONS", "transaction\_data": { "first\_time\_use": true, "subscription\_id": "mlb-suscripcions-genova-1", "subscription\_sequence": { "number": 1 }, "invoice\_period": { "period": 1, "type": "monthly" }, "billing\_date": "2024-07-29", "user\_present": true } }, "forward\_data": { "network\_transaction\_data": { "network\_transaction\_id": "n7w-c0d3-t7d" } } } \`\`\` Response: \`\`\`json "expanded": { "gateway": { "reference": { "network\_transaction\_id": "n7w-c0d3-t7d" } } } \`\`\`