#battbot-refund-java

1 messages · Page 1 of 1 (latest)

modest ridgeBOT
glacial flame
#

HI 👋

#

Can you share an example refund object ID?

onyx kite
#

Example is this refund: re_3O2HnmJ93KfFVesb1v7dWuz8

#

{
"id": "re_3O2HnmJ93KfFVesb1v7dWuz8",
"object": "refund",
"amount": 1750,
"balance_transaction": "txn_3O2HnmJ93KfFVesb1KtvNmCM",
"charge": "ch_3O2HnmJ93KfFVesb1bdjEWML",
"created": 1697566981,
"currency": "cad",
"metadata": {
},
"payment_intent": "pi_3O2HnmJ93KfFVesb1kOcCWvM",
"payment_method_details": {
"interac_present": {
"brand": "mastercard",
"cardholder_name": " /",
"country": "CA",
"emv_auth_data": "8A023030",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "mH0gsmUGBWhBMrbO",
"funding": "debit",
"generated_card": null,
"last4": "7034",
"network": "interac",
"read_method": "contactless_emv",
"receipt": {
"account_type": "unknown",
"application_cryptogram": "72AD07D43D3168E0",
"application_preferred_name": "Interac",
"authorization_code": "142302 ",
"authorization_response_code": "3030",
"cardholder_verification_method": "approval",
"dedicated_file_name": "A00000027710100100000001",
"terminal_verification_results": "0080008000",
"transaction_status_information": "A000"
}
},
"type": "interac_present"
},
"reason": "requested_by_customer",
"receipt_number": null,
"source_transfer_reversal": null,
"status": "succeeded",
"transfer_reversal": null
}

#

We are trying to get the "payment_method_details.interac_present" information to print out a refund receipt

glacial flame
#

And this is a receipt you are generating yourself?

onyx kite
#

yes

#

we are a POS company using Stripe terminal for in-store transactions in Canada

#

we need to print receipt when there's a refund for Interac, since that requires card present for refunds and by law we have to print a receipt for it

glacial flame
#

And the details shown here are not sufficient?

onyx kite
#

it's sufficient

#

i'm saying the Java library doesn't offer this information under the Refund object

#

we can't retrieve this information from that Refund Class

modest ridgeBOT
glacial flame
muted basalt
#

battbot-refund-java