Payment API

Refund

API Documentation

Senest redigeret:

Introduction

A Refund represents a single refund of a Transaction in relation to a Payment.

Properties

Name

Type

Example

Description

refundGuid

STRING

a863d62e-d53b-4651-9b7b-xxxxxxxxxxxx

Unique GUID

paymentGuid

STRING

 

Unique GUID of Payment

transactionGuid

STRING

 

Unique GUID of Transaction

createdTs

TIMESTAMP

 

Timestamp of Refund creation

state

STRING

 

See list list

paymentGateway

STRING

 

See list list

amount

DOUBLE

 

Amount of be refunded

refundedTs

TIMESTAMP

 

Timestamp of refunded amount

failedTs

TIMESTAMP

 

Timestamp of failure

Endpoints

GET /refund/{guid}

Get a single Refund.

Response

HTTP

Description

200

OK

404

Refund not found

HTTP 200 Example

{
  "refundGuid": "",
  "paymentGuid": "",
  "transactionGuid": "",
  "createdTs": "",
  "state": "",
  "paymentGateway": "",
  "amount": "",
  "refundedTs": "",
  "failedTs": ""
}