Funding Events

Simulate a funding event in Sandbox.

Changed on

Simulate a funding event for testing. This endpoint can only be used in the sandbox environment.

post/v1/funding_events/simulate

Request

  • Base URL
    https://sandbox.straddle.com
  • URL
    https://sandbox.straddle.com/v1/funding_events/simulate
  • Auth
    HTTP bearer

Headers

Straddle-Account-Idstring uuid

For use by platforms to specify an account id and set scope of a request.

Request-Idstring

Optional client generated identifier to trace and debug a request.

Correlation-Idstring

Optional client generated identifier to trace and debug a series of requests.

Idempotency-Keystring

Optional client generated value to use for idempotent requests.

Request body

funding_event_job_type'charges' | 'payouts' required

Supported job types are Charges and Payouts

sandbox_outcome'standard' | 'paid' | 'on_hold_daily_limit' | 'cancelled_for_fraud_risk' | 'cancelled_for_balance_check' | 'failed_insufficient_funds' | 'reversed_insufficient_funds' | 'failed_customer_dispute' | 'reversed_customer_dispute' | 'failed_closed_bank_account' | 'reversed_closed_bank_account' | 'failed_not_authorized' | 'reversed_not_authorized'

Payment will simulate processing if not Standard.

Response

Created

response_type'object' | 'array' | 'error' | 'none' required

Indicates the structure of the returned content.

  • "object" means the data field contains a single JSON object.
  • "array" means the data field contains an array of objects.
  • "error" means the data field contains an error object with details of the issue.
  • "none" means no data is returned.

Changes

    • info

      added the new failed_not_authorized enum value to the request property (media type: application/json)

    • info

      added the new failed_not_authorized enum value to the request property (media type: text/json)

    • info

      added the new failed_not_authorized enum value to the request property (media type: application/*+json)

    • info

      added the new reversed_not_authorized enum value to the request property (media type: application/json)

    • info

      added the new reversed_not_authorized enum value to the request property (media type: text/json)

    • info

      added the new reversed_not_authorized enum value to the request property (media type: application/*+json)

    • breaking

      removed the enum value CancelledForBalanceCheck of the request property (media type: application/json)

    • breaking

      removed the enum value CancelledForBalanceCheck of the request property (media type: text/json)

    • breaking

      removed the enum value CancelledForBalanceCheck of the request property (media type: application/*+json)

    • breaking

      removed the enum value CancelledForFraudRisk of the request property (media type: application/json)

    • breaking

      removed the enum value CancelledForFraudRisk of the request property (media type: text/json)

    • breaking

      removed the enum value CancelledForFraudRisk of the request property (media type: application/*+json)

    • breaking

      removed the enum value Charges of the request property (media type: application/json)

    • breaking

      removed the enum value Charges of the request property (media type: text/json)

    • breaking

      removed the enum value Charges of the request property (media type: application/*+json)

    • breaking

      removed the enum value FailedClosedBankAccount of the request property (media type: application/json)

    • breaking

      removed the enum value FailedClosedBankAccount of the request property (media type: text/json)

    • breaking

      removed the enum value FailedClosedBankAccount of the request property (media type: application/*+json)

    • breaking

      removed the enum value FailedCustomerDispute of the request property (media type: application/json)

    • breaking

      removed the enum value FailedCustomerDispute of the request property (media type: text/json)

    • breaking

      removed the enum value FailedCustomerDispute of the request property (media type: application/*+json)

    • breaking

      removed the enum value FailedInsufficientFunds of the request property (media type: application/json)

    • breaking

      removed the enum value FailedInsufficientFunds of the request property (media type: text/json)

    • breaking

      removed the enum value FailedInsufficientFunds of the request property (media type: application/*+json)

    • breaking

      removed the enum value OnHoldDailyLimit of the request property (media type: application/json)

    • breaking

      removed the enum value OnHoldDailyLimit of the request property (media type: text/json)

    • breaking

      removed the enum value OnHoldDailyLimit of the request property (media type: application/*+json)

    • breaking

      removed the enum value Paid of the request property (media type: application/json)

    • breaking

      removed the enum value Paid of the request property (media type: text/json)

    • breaking

      removed the enum value Paid of the request property (media type: application/*+json)

    • breaking

      removed the enum value Payouts of the request property (media type: application/json)

    • breaking

      removed the enum value Payouts of the request property (media type: text/json)

    • breaking

      removed the enum value Payouts of the request property (media type: application/*+json)

    • breaking

      removed the enum value ReversedClosedBankAccount of the request property (media type: application/json)

    • breaking

      removed the enum value ReversedClosedBankAccount of the request property (media type: text/json)

    • breaking

      removed the enum value ReversedClosedBankAccount of the request property (media type: application/*+json)

    • breaking

      removed the enum value ReversedCustomerDispute of the request property (media type: application/json)

    • breaking

      removed the enum value ReversedCustomerDispute of the request property (media type: text/json)

    • breaking

      removed the enum value ReversedCustomerDispute of the request property (media type: application/*+json)

    • breaking

      removed the enum value ReversedInsufficientFunds of the request property (media type: application/json)

    • breaking

      removed the enum value ReversedInsufficientFunds of the request property (media type: text/json)

    • breaking

      removed the enum value ReversedInsufficientFunds of the request property (media type: application/*+json)

    • breaking

      removed the enum value Standard of the request property (media type: application/json)

    • breaking

      removed the enum value Standard of the request property (media type: text/json)

    • breaking

      removed the enum value Standard of the request property (media type: application/*+json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Array enum value from the response property for the response status (media type: application/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Array enum value from the response property for the response status (media type: application/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Array enum value from the response property for the response status (media type: application/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Array enum value from the response property for the response status (media type: application/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Array enum value from the response property for the response status (media type: application/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Array enum value from the response property for the response status (media type: application/json)

    • info

      removed the Array enum value from the response property for the response status (media type: text/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Error enum value from the response property for the response status (media type: application/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Error enum value from the response property for the response status (media type: application/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Error enum value from the response property for the response status (media type: application/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Error enum value from the response property for the response status (media type: application/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Error enum value from the response property for the response status (media type: application/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Error enum value from the response property for the response status (media type: application/json)

    • info

      removed the Error enum value from the response property for the response status (media type: text/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/plain)

    • info

      removed the None enum value from the response property for the response status (media type: application/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/plain)

    • info

      removed the None enum value from the response property for the response status (media type: application/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/plain)

    • info

      removed the None enum value from the response property for the response status (media type: application/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/plain)

    • info

      removed the None enum value from the response property for the response status (media type: application/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/plain)

    • info

      removed the None enum value from the response property for the response status (media type: application/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/plain)

    • info

      removed the None enum value from the response property for the response status (media type: application/json)

    • info

      removed the None enum value from the response property for the response status (media type: text/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Object enum value from the response property for the response status (media type: application/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Object enum value from the response property for the response status (media type: application/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Object enum value from the response property for the response status (media type: application/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Object enum value from the response property for the response status (media type: application/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Object enum value from the response property for the response status (media type: application/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/plain)

    • info

      removed the Object enum value from the response property for the response status (media type: application/json)

    • info

      removed the Object enum value from the response property for the response status (media type: text/json)