Simulate
The simulate API is only available in the Sandbox environment.
These endpoints are used to simulate internal status transitions for a given Transfer
object. They are intended for testing and sandbox purposes only.
Simulate Transfer Paid
Endpoint
POST /api/v1/transfers/{transfer:uuid}/simulate-paid
Description
Simulates the scenario where the customer has paid into the designated receiving account.
This updates the transfer status from pending_customer_transfer_start
to pending_harbor
.
API Request: Simulate that the payment has been executed according to the payment
curl --location --request POST 'https://harbor-sandbox.owlpay.com/api/v1/transfers/{{TRANSFER_UUID}}/simulate-paid' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-API-KEY: {{API_KEY}}' \
--header 'Idempotency-Key: {{Idempotency-Key}}'
API Request: Simulate Harbor has executed payment to destination
Endpoint
POST /api/v1/transfers/{transfer:uuid}/simulate-completed
Description
Simulate Harbor payment to destination.
This updates the transfer status from pending_harbor
to completed
.
curl --location --request POST 'https://harbor-sandbox.owlpay.com/api/v1/transfers/{{TRANSFER_UUID}}/simulate-completed' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-API-KEY: {{API_KEY}}' \
--header 'Idempotency-Key: {{Idempotency-Key}}'
Updated 6 days ago