Skip to content

Weavr Simulator (v2)

This is a Simulator API which is only available on the Weavr Sandbox Environment

Download OpenAPI description
Overview
Languages
Servers
Mock server
https://api.weavr.io/_mock/products/simulator/openapi
https://sandbox.weavr.io/simulate/api"

Accounts

Operations

Cards

Operations

Consumers

Operations

Corporates

Operations

Wiretransfers

Operations

Simulate completion of an Outgoing Wire Transfer

Request

This endpoint is used to simulate the completion of an Outgoing Wire Transfer that has been submitted in the system and sent over our payment network.

Security
API_Secret_Key
Path
outgoing_wire_transfer_idinteger(int64)required
Headers
call-refstring

A call reference generated by the caller and unique to the caller to provide correlation between the caller and system with a maximum length of 255

curl -i -X POST \
  'https://api.weavr.io/_mock/products/simulator/openapi/wiretransfers/outgoing/{outgoing_wire_transfer_id}/accept' \
  -H 'call-ref: string' \
  -H 'programme-key: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
codestring(ResponseResponseCode)
Enum"COMPLETED""DENIED""DENIED_WIRE_TRANSFER_NOT_FOUND""DENIED_WIRE_TRANSFER_ALREADY_COMPLETED"
Response
application/json
{ "code": "COMPLETED" }

Simulate rejection of an Outgoing Wire Transfer

Request

This endpoint is used to simulate the rejection of an Outgoing Wire Transfer that has been submitted in the system and sent over our payment network.

Security
API_Secret_Key
Path
outgoing_wire_transfer_idinteger(int64)required
Headers
call-refstring

A call reference generated by the caller and unique to the caller to provide correlation between the caller and system with a maximum length of 255

curl -i -X POST \
  'https://api.weavr.io/_mock/products/simulator/openapi/wiretransfers/outgoing/{outgoing_wire_transfer_id}/reject' \
  -H 'call-ref: string' \
  -H 'programme-key: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
codestring(ResponseResponseCode)
Enum"COMPLETED""DENIED""DENIED_WIRE_TRANSFER_NOT_FOUND""DENIED_WIRE_TRANSFER_ALREADY_COMPLETED"
Response
application/json
{ "code": "COMPLETED" }

Factors

Operations

Linked Accounts

Operations