Webgility
Inspiration Seeker

Partial Refund quantity is not coming in the API response

Hello etsy,

We are webgility and integrating Etsy API

Problem Statement: We have one order #1696899487 with 2-Quantity and we refunded 1-Quantity, so we are expecting the refunded quantity should come in the API response while downloading the refund, but the refunded quantity is not coming in the API response.

We are using the below API

Request(API Endpoint):  https://openapi.etsy.com/v3/application/shops/8193123/receipts/1696899487/payments

Response: {
"count": 1,
"results": [
{
"payment_id": 67764165589,
"buyer_user_id": 274097427,
"shop_id": 8193123,
"receipt_id": 1696899487,
"amount_gross": {
"amount": 430,
"divisor": 100,
"currency_code": "USD"
},
"amount_fees": {
"amount": 38,
"divisor": 100,
"currency_code": "USD"
},
"amount_net": {
"amount": 362,
"divisor": 100,
"currency_code": "USD"
},
"posted_gross": {
"amount": 430,
"divisor": 100,
"currency_code": "USD"
},
"posted_fees": {
"amount": 38,
"divisor": 100,
"currency_code": "USD"
},
"posted_net": {
"amount": 362,
"divisor": 100,
"currency_code": "USD"
},
"adjusted_gross": {
"amount": 322,
"divisor": 100,
"currency_code": "USD"
},
"adjusted_fees": {
"amount": 35,
"divisor": 100,
"currency_code": "USD"
},
"adjusted_net": {
"amount": 287,
"divisor": 100,
"currency_code": "USD"
},
"currency": "USD",
"shop_currency": "USD",
"buyer_currency": "USD",
"shipping_user_id": 274097427,
"shipping_address_id": 734107674898,
"billing_address_id": 734107674898,
"status": "SETTLED",
"shipped_timestamp": null,
"create_timestamp": 1593444024,
"created_timestamp": 1593444024,
"update_timestamp": 1593444140,
"updated_timestamp": 1593444140,
"payment_adjustments": [
{
"payment_adjustment_id": 67764654385,
"payment_id": 67764165589,
"status": "SUCCESS",
"is_success": true,
"user_id": 33931226,
"reason_code": "ITEM_DAMAGED",
"total_adjustment_amount": 108,
"shop_total_adjustment_amount": 108,
"buyer_total_adjustment_amount": 108,
"total_fee_adjustment_amount": 3,
"create_timestamp": 1593444752,
"created_timestamp": 1593444752,
"update_timestamp": 1593444927,
"updated_timestamp": 1593444927,
"payment_adjustment_items": [
{
"payment_adjustment_id": 67764654385,
"payment_adjustment_item_id": 65795088280,
"adjustment_type": "TRANS",
"amount": 100,
"shop_amount": 100,
"transaction_id": 1952467182,
"bill_payment_id": 6696480562,
"created_timestamp": 1593444752,
"updated_timestamp": 1593444836
},
{
"payment_adjustment_id": 67764654385,
"payment_adjustment_item_id": 65795088288,
"adjustment_type": "GIFT_WRAP",
"amount": 0,
"shop_amount": 0,
"transaction_id": null,
"bill_payment_id": null,
"created_timestamp": 1593444752,
"updated_timestamp": 1593444752
},
{
"payment_adjustment_id": 67764654385,
"payment_adjustment_item_id": 67764654403,
"adjustment_type": "SHIP",
"amount": 0,
"shop_amount": 0,
"transaction_id": null,
"bill_payment_id": null,
"created_timestamp": 1593444752,
"updated_timestamp": 1593444752
},
{
"payment_adjustment_id": 67764654385,
"payment_adjustment_item_id": 67764654409,
"adjustment_type": "TAX",
"amount": 8,
"shop_amount": 8,
"transaction_id": null,
"bill_payment_id": null,
"created_timestamp": 1593444752,
"updated_timestamp": 1593444752
},
{
"payment_adjustment_id": 67764654385,
"payment_adjustment_item_id": 67764654419,
"adjustment_type": "VAT",
"amount": 0,
"shop_amount": 0,
"transaction_id": null,
"bill_payment_id": null,
"created_timestamp": 1593444752,
"updated_timestamp": 1593444752
}
]
}
]
}
]
}

Expected Result: The refunded quantity should come in the API response.

Thanks & Best Regards
Webgility

Labels (1)
Translate to English There was a problem fetching the translation.
0 Likes
1 Reply

Re: Partial Refund quantity is not coming in the API response

@Webgility: You would probably be better off contacting Etsy's Developer Support at developer@etsy.com  Also the forum rules are that you not supposed to publish any identifiable information so you should edit you post.

Translate to English There was a problem fetching the translation.
0 Likes
Reply
Loading...
Reply
You must log in to join this conversation.
Remember that posts are subject to Etsy's Community Policy.