Skip to main content

Refund Response

objectstringrequired

Type of returned object. Always refund.

Possible values: [refund]

Example: refund
idstringrequired

Unique refund identifier.

Example: ref_1000000007_2838fhsd6dashsdkfsd_EUR
createdinteger<int64>required

Unix timestamp in milliseconds indicating when the refund was created.

Example: 1430137532383
updatedinteger<int64>required

Unix timestamp in milliseconds indicating when the refund was updated.

Example: 1430137532383
currencystringrequired

Refund currency.

Possible values: >= 3 characters and <= 3 characters, Value must match regular expression ^[A-Z]{3}$

Example: EUR
amountnumber<double>required

Refund amount.

Example: 10
customer objectrequired
idstring

Customer identifier.

Example: merchantclientid5HzDvoZSodKDJ7X7VQKrtestAutomation
emailstring<email>

Customer email address.

Example: valid@email.com
statusstringrequired

Current refund status.

Example: SUCCESS
Refund Response
{
"object": "refund",
"id": "ref_1000000007_2838fhsd6dashsdkfsd_EUR",
"created": 1430137532383,
"updated": 1430137532383,
"currency": "EUR",
"amount": 10,
"customer": {
"id": "merchantclientid5HzDvoZSodKDJ7X7VQKrtestAutomation",
"email": "valid@email.com"
},
"status": "SUCCESS"
}