Apipagos v2
  1. Get
Apipagos v2
  • Apipagos Extras
    • Cbu Cvu Validation
      GET
    • Credit Card Bin Validations
      GET
  • Apipagos Core
    • Contracts
      • Create
        • Create new contracts.
        • Create new contract extras.
      • Get
        • Display a listing of contracts.
        • Get contract by code or Id.
        • Get contract extra by ID.
      • Update
        • Updates contracts.
        • Updates contract extras.
        • Update single contract
    • Documents
      • Create
        • Create new documents.
        • Create documents new payment instances.
        • Create documents new life cycles.
      • Get
        • Display the life cycle of the document.
        • Display a listing of documents.
        • Display the payment instances of the document.
        • Display the specified document.
      • Update
        • Update payment instances of documents.
        • Update cycle of documents.
        • Update documents.
        • Update Single Document
    • Refunds
      • Get
        • Display a listing of refunds.
          GET
        • Get refunds by code.
          GET
      • Create
        • Create new refunds.
      • Update
        • Update refunds.
        • Update single refund
    • Subscriptions
      • Create
        • Create new subscriptions.
      • Get
        • Display a listing of subscriptions.
        • Get a subscription by code.
      • Update
        • Update subscriptions.
        • Update Single Subscription
    • Transactions
      • Create
        • Create new transactions.
      • Get
        • Display a listing of transactions.
        • Get a transaction by code.
      • Update
        • Update transactions.
        • Update Single Transaction
    • Publications
      • Create
        • Create new publications
      • Get
        • Display a listing of publications.
        • Get publication by code.
    • Users
      • Create
        • Create new users.
        • Create new users fiscal data.
        • Create new users addresses.
        • Create new users identities.
        • Create new users payment methods.
      • Get
        • Display a listing of the users.
        • Get a user by code.
      • Update
        • Update users.
        • Update Single User
    • Location
      • Get Countries
      • Get Country Provinces
      • Get Province Locations
    • Tenant info
      GET
    • AFIP
      GET
  1. Get

Get refunds by code.

Testing
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
GET
/refunds/{code}
apipagosinformationrefunds
Get refunds by code.

Request

Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Path Params
code
string 
required
Header Params
Accept
string 
optional
Example:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.test.apipagos.com/api/v2/apipagos/refunds/' \
--header 'Accept: application/json' \
--header 'Company-Token;'

Responses

🟢200OK
application/json
Body
data
array[object (Refund) {21}] 
optional
Example:
[{"amount":"<string>","batch":"<string>","code":"<string>","config_code":"<string>","created_at":"<dateTime>","description":"<string>","field_1":"<string>","field_2":"<string>","field_3":"<string>","id":"<integer>","integrity_code":"<string>","name":"<string>","refund_date":"<dateTime>","request_date":"<dateTime>","scheduled_date":"<dateTime>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"status_log":"<string>","title":"<string>","token":"<string>","transaction_type":"<string>","updated_at":"<dateTime>","user":{"birth_country":"<string>","birthdate":"<dateTime>","code":"<string>","company_id":"<integer>","correlation_id":"<string>","created_at":"<dateTime>","email":"<string>","email_verified_at":"<dateTime>","field_1":"<string>","field_2":"<string>","field_3":"<string>","first_name":"<string>","gender":"Male","id":"<integer>","last_name":"<string>","marital_status":"Other","nationality":"<string>","profile_photo_url":"<string>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"type":"f","updated_at":"<dateTime>"}},{"amount":"<string>","batch":"<string>","code":"<string>","config_code":"<string>","created_at":"<dateTime>","description":"<string>","field_1":"<string>","field_2":"<string>","field_3":"<string>","id":"<integer>","integrity_code":"<string>","name":"<string>","refund_date":"<dateTime>","request_date":"<dateTime>","scheduled_date":"<dateTime>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"status_log":"<string>","title":"<string>","token":"<string>","transaction_type":"<string>","updated_at":"<dateTime>","user":{"birth_country":"<string>","birthdate":"<dateTime>","code":"<string>","company_id":"<integer>","correlation_id":"<string>","created_at":"<dateTime>","email":"<string>","email_verified_at":"<dateTime>","field_1":"<string>","field_2":"<string>","field_3":"<string>","first_name":"<string>","gender":"Male","id":"<integer>","last_name":"<string>","marital_status":"Widowed","nationality":"<string>","profile_photo_url":"<string>","status":{"action":"none","code":"<integer>","description":"<string>","label":"<string>"},"type":"f","updated_at":"<dateTime>"}}]
code
string 
required
config_code
string 
required
name
string  | null 
required
title
string 
required
description
string  | null 
required
integrity_code
string 
required
status
object (System Status) 
required
status_log
string  | null 
required
transaction_type
string 
required
batch
string 
required
token
string 
required
amount
string 
required
refund_date
string <date-time>
required
scheduled_date
string <date-time>
required
request_date
string <date-time>
required
field_1
string 
required
field_2
string 
required
field_3
string 
required
user
object (User) 
required
created_at
string <date-time>
required
updated_at
string <date-time>
required
links
object 
optional
first
string 
optional
Example:
<string>
last
string 
optional
Example:
<string>
next
string 
optional
Example:
<string>
prev
string 
optional
Example:
<string>
message
string 
optional
Example:
<string>
meta
object 
optional
current_page
string 
optional
Example:
<integer>
from
string 
optional
Example:
<integer>
last_page
string 
optional
Example:
<integer>
links
array [object {3}] 
optional
Example:
[{"active":"<boolean>","label":"<string>","url":"<string>"},{"active":"<boolean>","label":"<string>","url":"<string>"}]
path
string 
optional
Example:
<string>
per_page
string 
optional
Example:
<integer>
to
string 
optional
Example:
<integer>
total
string 
optional
Example:
<integer>
Example
{
  "data": [
    {
      "amount": "<string>",
      "batch": "<string>",
      "code": "<string>",
      "config_code": "<string>",
      "created_at": "<dateTime>",
      "description": "<string>",
      "field_1": "<string>",
      "field_2": "<string>",
      "field_3": "<string>",
      "id": "<integer>",
      "integrity_code": "<string>",
      "name": "<string>",
      "refund_date": "<dateTime>",
      "request_date": "<dateTime>",
      "scheduled_date": "<dateTime>",
      "status": {
        "action": "none",
        "code": "<integer>",
        "description": "<string>",
        "label": "<string>"
      },
      "status_log": "<string>",
      "title": "<string>",
      "token": "<string>",
      "transaction_type": "<string>",
      "updated_at": "<dateTime>",
      "user": {
        "birth_country": "<string>",
        "birthdate": "<dateTime>",
        "code": "<string>",
        "company_id": "<integer>",
        "correlation_id": "<string>",
        "created_at": "<dateTime>",
        "email": "<string>",
        "email_verified_at": "<dateTime>",
        "field_1": "<string>",
        "field_2": "<string>",
        "field_3": "<string>",
        "first_name": "<string>",
        "gender": "Male",
        "id": "<integer>",
        "last_name": "<string>",
        "marital_status": "Other",
        "nationality": "<string>",
        "profile_photo_url": "<string>",
        "status": {
          "action": "none",
          "code": "<integer>",
          "description": "<string>",
          "label": "<string>"
        },
        "type": "f",
        "updated_at": "<dateTime>"
      }
    },
    {
      "amount": "<string>",
      "batch": "<string>",
      "code": "<string>",
      "config_code": "<string>",
      "created_at": "<dateTime>",
      "description": "<string>",
      "field_1": "<string>",
      "field_2": "<string>",
      "field_3": "<string>",
      "id": "<integer>",
      "integrity_code": "<string>",
      "name": "<string>",
      "refund_date": "<dateTime>",
      "request_date": "<dateTime>",
      "scheduled_date": "<dateTime>",
      "status": {
        "action": "none",
        "code": "<integer>",
        "description": "<string>",
        "label": "<string>"
      },
      "status_log": "<string>",
      "title": "<string>",
      "token": "<string>",
      "transaction_type": "<string>",
      "updated_at": "<dateTime>",
      "user": {
        "birth_country": "<string>",
        "birthdate": "<dateTime>",
        "code": "<string>",
        "company_id": "<integer>",
        "correlation_id": "<string>",
        "created_at": "<dateTime>",
        "email": "<string>",
        "email_verified_at": "<dateTime>",
        "field_1": "<string>",
        "field_2": "<string>",
        "field_3": "<string>",
        "first_name": "<string>",
        "gender": "Male",
        "id": "<integer>",
        "last_name": "<string>",
        "marital_status": "Widowed",
        "nationality": "<string>",
        "profile_photo_url": "<string>",
        "status": {
          "action": "none",
          "code": "<integer>",
          "description": "<string>",
          "label": "<string>"
        },
        "type": "f",
        "updated_at": "<dateTime>"
      }
    }
  ],
  "links": {
    "first": "<string>",
    "last": "<string>",
    "next": "<string>",
    "prev": "<string>"
  },
  "message": "<string>",
  "meta": {
    "current_page": "<integer>",
    "from": "<integer>",
    "last_page": "<integer>",
    "links": [
      {
        "active": "<boolean>",
        "label": "<string>",
        "url": "<string>"
      },
      {
        "active": "<boolean>",
        "label": "<string>",
        "url": "<string>"
      }
    ],
    "path": "<string>",
    "per_page": "<integer>",
    "to": "<integer>",
    "total": "<integer>"
  }
}
Previous
Display a listing of refunds.
Next
Create new refunds.
Built with