Parse a transaction from an email
POST
This API is used to parse a transaction from an email.
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
application/json- body
content*stringreferenceCode*stringSuccessful response
application/json- response
source*stringValor en
"MERCANTIL_WEBHOOK""BNC_WEBHOOK""MERCANTIL_API""BNC_API""BANESCO_API""PLAZA_API""BINANCE_API""C2P""STRIPE_ACH""TRANSACTION_FILE""FORCE_PAYMENT""MANUAL""API"bankName*stringValor en
"A100BANCO""BANCAMIGA""BANCARIBE""BANESCO""BDV""BFC""BNC""MERCANTIL""PROVINCIAL""BANCO_DEL_TESORO""BANCO_PLAZA""SOFITASA""BANCO_ACTIVO""BANCO_AGRICOLA""BANCO_BICENTENARIO""BANCO_CARONI""BANCO_EXTERIOR""BANCRECER""BANFANB""BANGENTE""BANPLUS""DELSUR""R4""VENEZOLANO_DE_CREDITO""BANK_OF_AMERICA""AMERANT_BANK""US_BANK""WELLS_FARGO""BINANCE"currency*stringValor en
"VES""USD""EUR"asset*|nullid*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidaccountId*stringbankAccountId*stringtransactionFileId*string|nullpaymentClaimId*string|nullbncWebhookPaymentEventId*string|nullmercantilWebhookPaymentEventId*string|nullduplicationKey*string|nullamount*numberdate*stringdescription*stringreferenceCode*stringcreatedAt*stringupdatedAt*stringcurl -X POST 'https://api.unopago.com/v1/parse-email-transaction' \ -H 'Content-Type: application/json' \ -d '{ "content": "string", "referenceCode": "string"}'Ejemplo de respuesta
{ "source": "MERCANTIL_WEBHOOK", "bankName": "A100BANCO", "currency": "VES", "asset": "USDT", "id": "string", "accountId": "string", "bankAccountId": "string", "transactionFileId": "string", "paymentClaimId": "string", "bncWebhookPaymentEventId": "string", "mercantilWebhookPaymentEventId": "string", "duplicationKey": "string", "amount": 0, "date": "string", "description": "string", "referenceCode": "string", "createdAt": "string", "updatedAt": "string"}
