Sha256: 31ace3c309809380c096e5aa361695dcc49c71dd27e713bbac9e81b5606d1d72

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

% if mode == 'definition':
Balanced::Debit.refund()

% else:
require 'balanced'
Balanced.configure('ak-test-2KZfoLyijij3Y6OyhDAvFRF9tXzelBLpD')

debit = Balanced::Debit.find('/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY')
debit.refund(
  :description => 'Refund for Order #1111',
  :meta => {
    'fulfillment.item.condition' => 'OK',
    'merchant.feedback' => 'positive',
    'user.refund_reason' => 'not happy with product'
  }
)

% endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-0.7.5 scenarios/refund_create/ruby.mako