Class: Refund

Refund

Refunds are own objects with own calls for existing transactions. The refunded amount will be credited to the account of the client.

new Refund()

Creates a new Refund. Generally you should never create a PAYMILL object on your own.
Source:

Extends

  • PaymillObject

Classes

Filter
Order

Members

<static> Status

Status of a Refund.
Properties:
Name Type Description
OPEN string
PENDING string
REFUNDED string
Source:

amount :number

The refunded amount.
Type:
  • number
Source:

app_id :string

App (ID) that created this payment or null if created by yourself.
Type:
  • string
Source:

created_at :Date

Unix-Timestamp for the creation date.
Type:
  • Date
Source:

description :string

The description given for this refund.
Type:
  • string
Source:

livemode :boolean

Whether this refund happend in test- or in livemode.
Type:
  • boolean
Source:

response_code :number

A response code or null if details are called.
Type:
  • number
Source:

status :Refund.Status

Indicates the current status of this refund.
Type:
Source:

transaction :Transaction

Corresponding transaction object.
Type:
Source:

updated_at :Date

Unix-Timestamp for the last update.
Type:
  • Date
Source: