https://deficopay.com
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
  1. Deposit API Deficopay.com
  • Merchant Notification Webhooks
  • Authentication & Request Signing
  • Get Merchant Balance
  • Deposit API Deficopay.com
    • Get Merchant's Auth Token by Merchant's API key
      POST
    • Initiate Deposit with Full Customer Info
      POST
    • Initiate Deposit Khipu Argentina
      POST
    • Initiate Deposit BBVA Argentina
      POST
    • Initiate Deposit GALICIA Argentina
      POST
    • Initiate Deposit Banco ICBC Argentina
      POST
    • Initiate Deposit Banco MACRO Argentina
      POST
    • Initiate Deposit Banco NACION Argentina
      POST
    • Initiate Deposit Banco SUPERVIELLE Argentina
      POST
    • Initiate Deposit Rapipago Argentina Barcode Flow
      POST
    • Initiate Deposit Rapipago Argentina Redirect Flow
      POST
    • Initiate Deposit Mercado Pago QR Argentina
      POST
    • Initiate Deposit Otros Bancos / Billeteras QR Argentina
      POST
    • Initiate Deposit MODO QR Argentina
      POST
  • Payout API Deficopay.com
    • Initiate Payout Argentina (Bank Transfer)
      POST
  • Merchant API Deficopay.com
    • Get merchant balances
      GET
  • Get Fiat Deposit Status with Signature
    GET
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
Home
Link
Multiple Menus
Multiple Menus
  • Link1
  • Link2
  1. Deposit API Deficopay.com

Initiate Deposit with Full Customer Info

POST
https://pay.deficopay.com/api/v1/deposits/fiat/initiate

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠422Standartized Error Response
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://pay.deficopay.com/api/v1/deposits/fiat/initiate' \
--header 'X-API-Signature: {{x_api_signature}}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "amount": 1152.99,
  "currency": "BRL",
  "payment_method_code": "pix",
  "merchant_transaction_id": "4adb427f-b062-4705-8d95-00c57916cd3a",
  "order": {
    "id": "339f8edb-cd94-4ea7-a6b6-d7621f57cf92",
    "description": "Test"
  },
  "merchant_notification_url":"https://webhook.site/68c3b3fc-d5d2-4c83-bfef-517cb8584723",
  "customer": {
    "id": "2ce5f768-1256-40a9-b0ab-7eba5dfa0101",
    "deficopay_customer_id": "f7e3d1c3-bf87-48ad-9c55-5e96076fa023",
    "email": "test2@gmail.com",
    "phoneNumber": "+380661234567",
    "firstName": "Michal",
    "lastName": "Lebowski",
    "documentType": "CPF",
    "documentNumber": "12345678909",
    "address": {
      "addressLine": "Victory street",
      "addressNumber": "7B",
      "addressAdditional": "Apt 3",
      "addressNeighborhood": "Centro",
      "city": "São Paulo",
      "state": "SP",
      "postalCode": "01001",
      "country": "BR"
    }
  },
  "sessionContext": {
    "ip": "34.54.84.176",
    "languageCode": "en",
    "browserParameters": {
      "accept": "text/html",
      "language": "en-US",
      "userAgent": "Mozilla/5.0",
      "javaEnabled": true,
      "javascriptEnabled": true,
      "screenHeight": "1080",
      "screenWidth": "1920",
      "colorDepth": "12",
      "tz": "-180"
    }
  },
  "returnUrls": {
         "default": "https://webhook.site/68c3b3fc-d5d2-4c83-bfef-517cb8584723?return=default",
         "success": "https://webhook.site/68c3b3fc-d5d2-4c83-bfef-517cb8584723?return=success",
         "failure": "https://webhook.site/68c3b3fc-d5d2-4c83-bfef-517cb8584723?return=failure"
   }
}'
Response Response Example
200 - Success
{
  "type": "object",
  "properties": {
    "trace_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trace ID of the request, useful for debugging"
    },
    "data": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "example": true
        },
        "data": {
          "type": "object",
          "properties": {
            "order": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Merchant order ID"
                },
                "description": {
                  "type": "string",
                  "description": "Order description"
                }
              },
              "required": ["id", "description"]
            },
            "merchant_transaction_id": {
              "type": "string",
              "format": "uuid",
              "description": "Merchant-provided transaction ID"
            },
            "deficopay_transaction_id": {
              "type": "string",
              "format": "uuid",
              "description": "Generated transaction ID on Deficopay side"
            },
            "status": {
              "type": "string",
              "enum": ["pending", "completed", "cancelled", "failed"],
              "description": "Current transaction status"
            },
            "initial_amount": {
              "type": "string",
              "example": "30.00 R$",
              "description": "Amount with currency"
            },
            "initial_currency": {
              "type": "string",
              "example": "BRL"
            },
            "created_at": {
              "type": "string",
              "format": "date-time",
              "example": "2025-05-14T11:37:02.000000Z"
            },
            "pix_qr_code": {
              "type": "string",
              "description": "PIX QR code if applicable",
              "example": "00020126850014br.gov.bcb.pix2563..."
            }
          },
          "required": [
            "order",
            "merchant_transaction_id",
            "deficopay_transaction_id",
            "status",
            "initial_amount",
            "initial_currency",
            "created_at"
          ]
        }
      },
      "required": ["success", "data"]
    }
  },
  "required": ["trace_id", "data"]
}
Modified at 2025-05-20 14:52:23
Previous
Get Merchant's Auth Token by Merchant's API key
Next
Initiate Deposit Khipu Argentina
Built with