Skip to content

List payments with their CFDI (owner or admin)

GET
/v1/orgs/{org}/invoices
curl --request GET \
--url https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/invoices
org
required
string
/^org_[a-z0-9]{26}$/

Example

org_01hx0000000000000000000000

Payments

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
stripeAccount
required
string
Allowed values: us mx
amountPaid
required

Cents, tax included

integer
currency
required
string
paidAt
required
string
cfdi
required
object
id
required
string
status
required
string
Allowed values: pending stamped failed cancelled
uuid
required
string
nullable
stampedAt
required
string
nullable
autoRetry
required

Temporary error: retried automatically

boolean
error
required

Translated stamping error, with the tax profile field that needs to be fixed

object
code
required
string
field
required
string
nullable
message
required
string
cause
required
string
fix
required
string
canRequestCfdi
required

Mexico account, current month and no CFDI yet

boolean

Example

{
"data": [
{
"stripeAccount": "us",
"cfdi": {
"status": "pending"
}
}
]
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}