Schema Documentation

refund

Description

A refund object

Response

Returns a Refund

Arguments
NameDescription
id - ID! The ID for identifying the refund
idType - RefundIdTypeEnum Type of ID being used identify refund

Example

Query
query refund(  $id: ID!,  $idType: RefundIdTypeEnum){  refund(    id: $id,    idType: $idType  ){    amountdatabaseIddateidmetaData {      ...MetaDataFragment    }reasonrefundedBy {      ...UserFragment    }title  }}
Variables
{"id":"4","idType":"DATABASE_ID"}
Response
{"data":{"refund":{"amount":987.65,"databaseId":123,"date":"xyz789","id":"4","metaData":[MetaData],"reason":"xyz789","refundedBy":User,"title":"xyz789"}}}