Skip to main content

Documentation

Get Details of Add Funds Request

Retrieve details of a specific Add Funds to Wallet Account request.

Use this method in the sandbox for testing purposes.

Code Samples
    • .NET

      • using System;
        
        namespace RapydApiRequestSample
        {
            class Program
            {
                static void Main(string[] args)
                {
                    try
                    {
                        string id = "04c5e3f6-bd50-473d-8722-869a7e5c97bb";
        
                        string result = RapydApiRequestSample.Utilities.MakeRequest("GET", $"/v1/account/deposit/{id}");
                        Console.WriteLine(result);
                    }
                    catch (Exception e)
                    {
                        Console.WriteLine("Error completing request: " + e.Message);
                    }
                }
            }
        }
    • JavaScript

      • const makeRequest = require('<path-to-your-utility-file>/utilities').makeRequest;
        
        async function main() {
          try {
            const result = await makeRequest(
              'GET',
              '/v1/account/deposit/04c5e3f6-bd50-473d-8722-869a7e5c97bb'
            );
        
            console.log(result);
          } catch (error) {
            console.error('Error completing request', error);
          }
        }
    • PHP

      • <?php
        $path = $_SERVER['DOCUMENT_ROOT'];
        $path .= "/<path-to-your-utility-file>/utilities.php";
        include($path);
        
        try {
            $object = make_request('get', '/v1/account/deposit/04c5e3f6-bd50-473d-8722-869a7e5c97bb');
            var_dump($object);
        } catch(Exception $e) {
            echo "Error: $e";
        }
        ?>
    • Python

      • from pprint import pprint
        
        from utilities import make_request
        
        id = '04c5e3f6-bd50-473d-8722-869a7e5c97bb'
        
        results = make_request(method='get', path=f'/v1/account/deposit/{id}')
        pprint(results)
  • /v1/account/deposit/:id

  • Get Details of Add Funds Request

  • curl -X get
    https://sandboxapi.rapyd.net/v1/account/deposit/04c5e3f6-bd50-473d-8722-869a7e5c97bb
    -H 'access_key: your-access-key-here'
    -H 'Content-Type: application/json'
    -H 'idempotency: your-idempotency-parameter-here'
    -H 'salt: your-random-string-here'
    -H 'signature: your-calculated-signature-here'
    -H 'timestamp: your-unix-timestamp-here'
    
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "b3a57658-4ffe-41f9-9c8b-170b09aa26ec"
        },
        "data": {
            "id": "d7087422-1653-4be7-a5b9-87af469a4a3c",
            "account_id": "644410b8-e721-43b2-8847-4764cc0e4a00",
            "phone_number": null,
            "amount": 1000,
            "currency": "EUR",
            "balance_type": "available_balance",
            "balance": 1000,
            "metadata": {}
        }
    }