Stripe webhook (signed by the us or mx account; idempotent per event)
POST
/v1/webhooks/stripe/{account}
const url = 'https://api.replifier.com/v1/webhooks/stripe/us';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.replifier.com/v1/webhooks/stripe/usParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”account
required
string
Responses
Section titled “Responses”Received
Media typeapplication/json
object
received
required
boolean
outcome
required
string
Example generated
{ "received": true, "outcome": "example"}Invalid data
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" }}Service temporarily unavailable
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" }}