Skip to content

Instantly share code, notes, and snippets.

@sandromello
Last active December 14, 2020 14:24
Show Gist options
  • Save sandromello/0d562660b7050420f362f2ebc74ea9eb to your computer and use it in GitHub Desktop.
Save sandromello/0d562660b7050420f362f2ebc74ea9eb to your computer and use it in GitHub Desktop.
averbacao-tag
ACCESSTOKEN=
curl 'https://integration.nonprod.taginfraestrutura.com.br/receivable/consent/optin' \
--header "Authorization: Bearer ${ACCESSTOKEN}" \
--header 'Content-Type: application/json' \
--data-raw '{
"optIns": [
{
"beneficiary":"72963718000194",
"assetHolder": "16036234000129",
"acquirer": "31688539000109",
"paymentScheme": "VCC",
"signatureDate": "2020-12-14",
"startDate": "2020-12-14",
"endDate": "2021-12-08"
}
]
}'
curl 'https://integration.nonprod.taginfraestrutura.com.br/receivable/position/assetHolder/16036234000129' \
--header "Authorization: Bearer ${ACCESSTOKEN}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment