❖ MatchMove Banking API Specifications

Sections

Theme switcher

Reverse a wallet fund transaction

Header Parameters

X-Auth-User-IDstring Required

The matchmove issued user_id for which the request is being made

X-Auth-User-IPstring

The IP using which the actor is making the request

X-Auth-Device-IDstring

The unique id of the device using which the actor is making the request

X-Auth-User-Agentstring

The user agent of the device using which the actor is making the request

X-Auth-Actorstring Required

The actor on behalf of whom the API request is being performed

Path Parameters

program_codestring Required

Unique identifier for your program, issued by MatchMove during onboarding. All requests must use the program_code assigned to your integration. Using a program_code that does not belong to your integration will result in an authorization error.

transaction_idstring Required

Body Parameters

amountstring

Amount to reverse/refund. Numeric and greater than zero. Must not exceed the original transaction amount; a smaller value performs a partial refund. Required for partial refunds and when using category allocation/split.

allow_split_category_transactionstring

When true, the reversal is split across categories using rule. Optional.

Default value
false
Enum values:
truefalse
used_deducting_category_allocationstring

When true, the deducting category allocation is used. Cannot be combined with allow_split_category_transaction=true. Optional.

Default value
false
Enum values:
truefalse
rulestring

JSON-encoded array of category allocation rules (each with an amount). When supplied, allow_split_category_transaction must be true. Optional.

Response

200
Object

Wallet fund transaction reversed successfully.

Response Attributes

user_idstring

User identifier.

wallet_idstring

Wallet identifier.

transactionobject

Reversal or refund result, keyed by type (reversal for full, refund for partial).

sor_transactionobject | null

System-of-record transaction reference. Null when not configured.

400
Object

Bad Request The response code field indicates which specific rule was violated.

Possible error codes:

  • invalid_partial_refund_amount - Amount should be lesser than the original transaction amount
  • invalid_partial_refund_amount_less - Amount should be lesser than the remaining partial amount
  • user_not_found - User not found or does not exist

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

401
Object

Unauthorized Request The response code field indicates which specific rule was violated.

Possible error codes:

  • invalid_token - Access denied due to invalid token on header

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

403
Object

Forbidden The response code field indicates which specific rule was violated.

Possible error codes:

  • resource_user_lockout - User currently has a pending transaction

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

404
Object

Not Found The response code field indicates which specific rule was violated.

Possible error codes:

  • resource_not_found - Resource not found

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

405
Object

Method Not Allowed The response code field indicates which specific rule was violated.

Possible error codes:

  • method_not_allowed - The HTTP method is not allowed here

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

500
Object

Internal Server Error The response code field indicates which specific rule was violated.

Possible error codes:

  • internal_error - An internal gateway error occurred

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

501
Object

Not Implemented The response code field indicates which specific rule was violated.

Possible error codes:

  • not_implemented - This operation is not implemented

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

502
Object

Bad Gateway The response code field indicates which specific rule was violated.

Possible error codes:

  • bad_gateway - Bad gateway error.

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

503
Object

Service Unavailable The response code field indicates which specific rule was violated.

Possible error codes:

  • service_unavailable - Service is temporarily unavailable

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

504
Object

Gateway Timeout The response code field indicates which specific rule was violated.

Possible error codes:

  • gateway_timeout - Gateway timeout error.

Response Attributes

idstring Required

Unique hash-id for the error message

statusnumber Required

Error response status code

codestring Required

Error response code

titlestring Required

Error response title

detailstring Required

Error response detail

sourcearray

Source defines the multiple error messages

timestampstring Required

Response timestamp

Was this section helpful?

POST

/

Select
1

Response

Was this section helpful?