v1.1

Transition cash on delivery

Transition only CASH_ON_DELIVERY transactions to successful state

post/api/v1.4/transactions/{trx_uuid}/transition/

Request

  • Base URL
    https://web.moneyhash.io
  • URL
    https://web.moneyhash.io/api/v1.4/transactions/{trx_uuid}/transition/
  • Auth
    • API key in header X-Api-Key
    • or API key in query parameter access_token

Path parameters

trx_uuidstring required

Transaction unique identifier that you want to transition

Request body

target_status'successful' | 'failed' required

Mark the transaction as successful or failed.

  • successful - successful
  • failed - failed
increase_amountstring decimal

Increase the transaction amount.

decrease_amountstring decimal

Decrease the transaction amount.

Response

idstring required

Transaction ID

custom_fieldsunknown
statusstring
amount_currencystring required

Transaction currency

payment_methodstring required
payment_method_namestring required
service_providerstring nullable required
accountstring required
is_retryboolean required

Is this transaction a retry after failure

authentication_dataunknown
authenticationunknown
full_captureboolean required
createdstring date-time required
modifiedstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.